Why to use border-top-color property in an HTML pages?

 Posted by vishalneeraj-24503 on 5/6/2014 | Category: ASP.NET Interview questions | Views: 408 | Points: 40
Answer:

When we want to set any element or control Top border color,then we use border-top-color CSS property.It's an in-built CSS property.

Note:- Always declare the border-style property before the border-top-color property.An element must have borders before you can change the color.

For Example:-
div

{
border-style:solid;
border-top-color:red;
}


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response