CSS3 SIMPLIFIED: CSS Simplified And Turned To Fun (Web Development Simplified Book 4) by Marcus O.A

CSS3 SIMPLIFIED: CSS Simplified And Turned To Fun (Web Development Simplified Book 4) by Marcus O.A

Author:Marcus, O.A. [Marcus, O.A.]
Language: eng
Format: epub
Published: 2021-01-28T16:00:00+00:00


Border

We have to admit that things do look better with borders!

To give border to any element we can use border-width , border-style and border-color properties.

Border-width can take any value in pixels , border-style provides variations like dashed , solid , dotted and border-color can take any valid color value.

The above css will apply a solid border to div with width 2px and blue color.

There is also a shorthand property to apply border which goes like:

Where 2px is the border-width, solid is the border-style and the border-color is black.

If we need curved edges, then border-radius property can be used.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.