Select Chapter ❯
CSS Tutorial
- CSS Introduction
- CSS Syntax
- CSS Insert CSS
- CSS Backgrounds
- CSS Text
- CSS Dimensions
- CSS Border
- CSS Margin
- CSS Padding
- CSS Display
- CSS Positioning
- CSS Float
- CSS Pseudo-Class
- CSS Opacity
- CSS Media Types
CSS3 Tutorial
CSS Margin
CSS Margin is used to make space between the elements.Margin is completely transparent. You can use the value of margin independently by by giving the value of margin properties of top,left,bottom and right margin or you can also give the combined value.
Possible values of margin properties are auto,length,%,inherit.
Margin Properties
margin:top right bottom left