- Get link
- X
- Other Apps
Flexbox - In Display flexbox property the layout of the element is block and it represent in inline element in easy word let take example if you have many container and you want to arrange them in line then you use this property for responsive use it arrange the box in a row and like inline element . Syntax - display: flex ; code - <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Display flex </title> <style> .flex{ border: 2px solid black; background-color: blueviolet; display: flex ; } .one{ background-color: cornsilk; border: 2px solid; height: 250px; width: 300px; } </style> </head>...