+ 1
How to use border property in external CSS?
I tried using border property in internal CSS but it turns out I am not getting the syntax properly. So please if anyone can help! Thank you.
3 odpowiedzi
+ 1
I recommend learning HTML first then CSS.
Html builds the structure. CSS add the styles.
The proper syntax for the border property is as follows.
CSS Syntax
border: border-width border-style border-color
example:
p {
border: 1px solid red;
}
+ 1
Thank you Chris C.
+ 1
My pleasure 😊