I have mention the basic syntax of css3 on the folder part1. In the readme file of part 1. I want to guide you the way to include css3 into html document. there are three ways we can include stylesheet for applying on html document.
- External style :
<link rel="stylesheet" type="text/css" href="css3locacationfile">
- Internal Style :
<style> css3 declaration here </style>
make sure on the same html document- Inline style :
<h1 style="color:blue;margin-left:30px;">This is inline style</h1>
- CSS border : allow us to specify the style, width and color of element
- CSS border Style :
border-style: styleName
such as solid, dotted dashed, none, groove, inset, outset, Hidden....- CSS Border Width:
border-width: top right bottom left
example :border-width: 2px 10px 5px 20px
CSS margin allow you to control over the margin of element. we can set properties such as
margin-top
,margin-right
,margin-bottom
,margin-left
following this order.