02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School

Size Manipulating

In this chapter we turn our attention into the physicality of elements as we control their size, position and relation to other elements in the HTML document.

Duration: 26:16

Dependency warningThis course builds on concepts from Controlling CSS Elements.
Intermediate Level
Intermediate Level
Medium-paced Course
Medium-paced Course

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

Size Manipulating Overview

What you'll learn

In the last chapter we learnt how to brush some color onto any html element and in this chapter we turn our attention into the physicality of elements as we control their size, position and relation to other elements in the HTML document.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

Controlling the width and height of elements

By the end of this lesson, you will know everything about sizes of HTML elements and how to control them using CSS.

08:34

Defining Margins of HTML elements

In this lesson we will discover how to control the relation between elements.

06:53

Sizing things in different ways

In this lecture we will learn about the differences between them and know how to pick the right measurement system for our needs.

07:13

Working with Padding

By the end of this lesson you will know the differences between CSS margin and padding and how to apply them.

03:36

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!