CSS - Style a Website
This course covers the basics of styling a website using CSS. Work your way through the videos/articles and I'll teach you everything you need to know to style a basic website!

Position

Lesson 6
Author : GOUP
Last Updated : September, 2020


Code

Copy<div style="position: relative; top: 10px; bottom: 10px; width:90px; height:90px; background-color:blue;"></div>
<div style="width:100px; height:100px; background-color:red;"></div>