CSS PROPERTIES

bagavath ravichandran - Feb 27 - - Dev Community

1.Flexbox:

 Flexbox is a layout method for arranging items in rows or 
 columns.
 The CSS Flexbox Layout should be used for one-dimensional 
 layout, with rows OR columns.
Enter fullscreen mode Exit fullscreen mode

2.class selector

 The CSS .class selector selects elements with a specific class 
 attribute value.

 The **element.class** selector selects the specified elements 
 with the specified class attribute value.
Enter fullscreen mode Exit fullscreen mode

3.Element selector.

 The element selector selects HTML elements based on the 
 element name.
Enter fullscreen mode Exit fullscreen mode

p {
text-align: center;
color: red;
}

 Here, all <p> elements on the page will be center-aligned, 
 with a red text color: 
Enter fullscreen mode Exit fullscreen mode

4.Box-shadow property

 The CSS box-shadow property is used to apply one or more 
 shadows to an element.

 div {
     box-shadow: 10px 10px;
 }
Enter fullscreen mode Exit fullscreen mode

5.Border-radius property.

 The border-radius property defines the radius of the element's 
 corners.it allows you to add rounded corners to elements.

 #example {
    border: 2px solid red;
    border-radius: 25px;
 }
Enter fullscreen mode Exit fullscreen mode
. . . . . . . .