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

Position

Lesson 6
Author : Mike Dane
Last Updated : October, 2017


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>