HTML/CSS Course – Day 8 – Box-Sizing: Border-Box
The box-sizing CSS property sets how the total width and height of an element is calculated. By default in the CSS box model, the width and height you assign to…
HTML/CSS Course – Day 7 – Floats
The Float CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from…
HTML/CSS Course – Day 7 – Pseudo-Elements
Pseudo-Elements don’t exist in HTML, but they do in CSS, which allows you to add some some extra decoration to the file, such as changing the color, size, font, etc.,…
HTML/CSS Course – Day 6 – Relative & Absolute Positioning
In CSS, there are a couple positioning modes, but the more important ones to talk about currently are Normal Flow and Absolute Positioning. Relative Positioning is the default positioning of…
HTML/CSS Course – Day 6 – Type of Blocks: Inline-Block
There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the third of the 3 elements: Inline-Block. Inline-Blocks takes the best of both…
HTML/CSS Course – Day 6 – Type of Blocks: Inline
There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the second of the 3 elements: Inline. Inline elements, unlike Block-Level elements, only…
HTML/CSS Course – Day 6 – Type of Blocks: Block-Level
There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the first of the 3 elements: Block-Level. Block-Level elements occupy 100% of parent…
HTML/CSS Course – Day 6 – Page Centering
1) Wrap a segment of your HTML code in a container such as <div>. 2) Targeting that container, set the width to whatever you wish. (Preferably somewhere around 700-800px, but…
HTML/CSS Course – Day 6 – Padding & Margin
Padding is used to give space inside certain elements, while margin is to give space between different elements. Padding also has a shorthand property for specifying the padding for each…
HTML/CSS Course – Day 5 – The CSS Box Model
The CSS Box Model consists of 5 parts: 1) Content – The actual content of the element. It can be anything, such as text, images, videos, etc. 2) Border –…
