by dayo ade | Oct 17, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
The CSS Box Model All HTML elements can be considered as boxes. In CSS, the term “box model” is used when talking about design and layout. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders,...
by dayo ade | Oct 16, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
The CSS Box Model All HTML elements can be considered as boxes. In CSS, the term “box model” is used when talking about design and layout. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders,...
by dayo ade | Oct 16, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
Setting height and width The height and width properties are used to set the height and width of an element. The height and width can be set to auto (this is default. Means that the browser calculates the height and width), or be specified in length values, like px,...
by dayo ade | Oct 16, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
CSS Padding The CSS padding properties are used to generate space around content. The padding clears an area around the content (inside the border) of an element. With CSS, you have full control over the padding. There are CSS properties for setting the padding for...
by dayo ade | Oct 16, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
This element has a margin of 70px. CSS Margins The CSS margin properties are used to generate space around elements. The margin properties set the size of the white space outside the border. With CSS, you have full control over the margins. There are CSS properties...
by dayo ade | Oct 16, 2017 | Articles and Short Tutorials, Web Design Tutorials and Articles
CSS Border Properties The CSS border properties allow you to specify the style, width, and color of an element’s border. I have borders on all sides. I have a red bottom border I have rounded borders. I have a blue left border. Border Style...