by SATISH | Mar 16, 2021 | CSS
CSS Padding Previous Next CSS padding is a shorthand attribute that defines the space between the border of the element and the content of the element, that is, the upper, lower, left, and right inner margins. padding When the padding of the element is cleared, the...
by SATISH | Mar 16, 2021 | CSS
CSS Margin Previous Next The CSS margin property defines the space around the element. margin margin Clear the surrounding (outer border) element area. The margin has no background color and is completely transparent. Margin can change the top, bottom, left, and right...
by SATISH | Mar 16, 2021 | CSS
CSS Outline Previous Next An outline is a line drawn around an element, located on the periphery of the border edge, and can play a role in highlighting the element. The outline attribute specifies the style, color, and width of the element outline. Outline example...
by SATISH | Mar 15, 2021 | CSS
CSS Box Model Previous Next CSS border properties CSS border properties allow you to specify the style and color of an element’s border. Border style The border style attribute specifies what kind of border to display. The border-style property is used to...
by SATISH | Mar 15, 2021 | CSS
CSS Box Model Previous Next All HTML elements can be regarded as boxes. In CSS, the term “box model” is used in design and layout. The CSS box model is essentially a box that encapsulates the surrounding HTML elements, including margins, borders, padding,...