Learn how to build layouts with an interactive and auto-graded tutorial. Master CSS properties like display, position, float, and z-index. Understand how to center content, create sidebars, and use pseudo-elements. Enhance your web design skills with practical, auto-graded tutorials.
This exercise includes
Technical SkillsTry this exercise
Create an account and get immediate access to this exercise
Already have an account?
Skill level
EASY
Time to complete
8 hours
Access
Free
Prerequisites
None
See the content included in this exercise
Learn the differences between display and position, explore flexbox, floats, centering content, sidebar layouts, and using :before and :after.
Practice hiding elements with visibility and display:none, display list items inline, and turn strong elements into block-level boxes.
Practice applying relative and absolute positioning to a div and compare the visual differences between them.
Use the z-index property to send an image behind text, controlling element layering in your layout.
Practice using the float property to position an image beside text, applying margin-right to create proper spacing between the image and the text.


Continue learning about this exercise's topics

Learn how to build layouts with an interactive and auto-graded tutorial. Master CSS properties like display, position, float, and z-index. Understand how to center content, create sidebars, and use pseudo-elements.…
Try this exercise
Learn the most popular HTML tags and how to use them effectively with interactive real-life examples designed to simplify learning. With automatic grading and video solutions, you can track your…
Try this exercise
Learn CSS with an interactive and auto-graded tutorial with dozens of exercises. These CSS exercises are ideal for beginners learning and practicing fundamental CSS concepts, including selectors, styling rules, and…
Try this exercise
Master Bootstrap with practical exercises on grid systems, navigation bars, hero sections, and more. Learn to apply Bootstrap styles to your HTML elements, use popular rules and tricks, and build…
Try this exercise
Master the art of HTML forms with interactive exercises that cover text inputs, text areas, date and numeric inputs, dropdowns, and more. Learn form validation, styling, and the key differences…
Try this exercise
Step by step, go over all the most important DOM concepts and methods: Use javascript to manipulate styles, HTML elements.
Try this exercise