Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
div {
width: 100px;
height: 100px;
float: left;
margin-right: 50px;
}
.parallelogram {
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
margin-left: 20px;
-webkit-transform: skew(20deg);
-moz-transform: skew(20deg);
-o-transform: skew(20deg);
}
.circle {
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.square {
border-radius: 0%;
-moz-border-radius: 0%;
-webkit-border-radius: 0%;
}
#parallelogram {
background-color: #1c87c9;
}
#circle {
background-color: #8ebf42;
}