today i learned some intresting topics in css....
Key Features of Flexbox:
Align items horizontally or vertically
Control spacing between elements
Easily manage responsive layouts
Common Flex Properties:
justify-content: Aligns items horizontally (flex-start,center,space-between, etc.)align-items: Aligns items vertically (stretch,center,flex-start, etc.)flex-direction: Controls the direction (row,column, etc.)flex-wrap: Allows items to wrap to the next line
Margin in css
in CSS, margin is the space outside an element's border. It creates space between elements.
padding in CSS
padding is the space inside an element, between its content and border. It controls the inner spacing of elements.


border-radius in CSS
border-radius is used to round the corners of an element's border box.




Top comments (0)