This short sweet tutorial will show you how to make a rectangle in CSS.
First thing is you want to set up your div, we are going to give our div an id of rectangle.
[code]<div id="rectangle"></div>[/code]
Now lets enter our CSS to make our rectangle.
[code]<style>#rectangle{width:200px; height:100px;}</style>[/code]
We can give it a background color of blue in the CSS like this.
[code]<style>#rectangle{width:200px; height:100px; background:blue;}</style>[/code]
Make a rectangle in CSS was last modified: May 22nd, 2015 by
Summary
Article Name
Make a rectangle in CSS
Description
Make a rectangle in CSS
Author
Maximus McCullough
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!