Tag Archives: padding

Box-sizing: border-box

Adding padding and border sizes will now reduce the content size, but it makes it so much easier than trying to add up border + padding + content of every element in your CSS. Without the box-sizing: border-box property your … Continue reading

Posted in Web Developer Course | Tagged , , , , , , , , | Leave a comment

Margins and Paddings

Padding shorthand in CSS: Four values: starts at the top, then right side, bottom, then left side. Three values: first number is top, second number is right and left, third number is bottom. Two values: first number is the value … Continue reading

Posted in Web Developer Course | Tagged , , , | Leave a comment

Using Dev Tools

Three ways to open the developer tools: Right click inside an online page. Then click “Inspect” or “Inspect Element:”. Hold Ctrl and Shift together and press “I”. On Firefox and Brave Web Browser, click the hamburger icon on the upper … Continue reading

Posted in Web Developer Course | Tagged , , , , | Leave a comment