HTML CSS Borders


Border styles

Example
I created a bulleted list and styled each list item. For each list tag you need to add the class name <li class="">
I added seperate colors to help differentiate the styles. Notice the color green does not show up in the "hidden" style.

Border Width


border-radius Property


The border-radius Property rounds the corners on a border.

	div.roundBorder{
					border-style: ridge ;
					height:200px ;
					width: 75% ;
					border-width: 10px ;
					border-radius: 40px;	
	}






		By making height, 
		width and radius the same,
		you can make a circle.
Here is the code.
		
	div.circle{
		    border-style: solid ;
                    height:400px ;
		    width: 400px ;
		    border-width: 10px ;
                    border-radius: 400px ;	
    	}




I hope you will join us for the next lesson Lesson 16) Positioning

Additional Resources