Hi, I am designed with border color property by 3 Example #2īorder Color property with 3 values and border Hi, I am designed with border top color property.īorder-color: brown red blue green /* Gives the color at top, right, bottom and left respectivily */Įxplanation: First paragraph gives brown, red, blue and green color to top, right, bottom and left respectively by assigning 4 values to border-color property.Second paragraph gives blue color by assigning a value to border-top-color property. Values (top, right, bottom and left respectively). Hi, I am designed with border color property by 4 Border Colors to Specific Side Syntax 1īorder-top-color: value//border top side colorīorder-right-color: value//border right side colorīorder-bottom-color: value//border bottom side colorīorder-left-color: value//border left side colorīelow are the examples mentioned: Example #1īorder Color property with 4 values and border Syntax 4Įxplanation: If we apply border-color with only single value, then applied it for all four sides equally.If we want to apply border style only one side like top or right or bottom or left. Border-color: value1, value2 //border color valuesĮxplanation: If we apply border-color with 2 values, then first value is for top and bottom and second value is for left and right applied respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |