HTML CSS Border Questions



HTML CSS









Q.1 How Radius Top left Side Border of box in css html??


Answer :


First make border Example 

border{

border:1px solid red;


}


Now use radius properties Example


border{

border:1px solid red;

border-top-left-radius: 50px;


}
html css













Q.2  How change size of box border in html css??


Answer :


Use Width properties for change border size Example 


border{

width:100px;
height:200px;



}


html css





Q.3 How change color of left,right side border in css html??


Answer :


use border color properties example 


border{

border-left:1px solid red;

border-right:1px solid red;




}



html css




Q.4 how create vertical line??


Answer :


Create an vertical line in css html use border properties Example


border{

width:0px

border:2px solid red

height:200px




}

html css





Q.5 how create horizontal line in css html??


Answer :




Create an horizental line in css html use border properties Example


border{

width:200px

border:2px solid red

height:0px




}

html css






Q.6 how to change color of border individual side in html css??

Answer :

Change color of individual side of border example 



border {

border-left:2px solid white;
border-right:2px black ;
border-top:2px blue ;
border-bottom:2px red ;


}




html









Q. 7 how make one side thin line border in html css??





Answer :


use border properties for change individual border line size in html css



border {

border-left:2px solid green;
border-right:2px solid blue;




Q. 8 what is border properties ??



Answer :



use border  properties for create border 


Border: Example border 



border-radius:


border-style :


border-color:


border-top-left-radius:


border-top-right-radius:


border:none;


border-top:




Learn More About html Css.....