blob: 6a1acf532a7f803a60f74fb0f2af74f52dc426a9 [file] [log] [blame]
<!DOCTYPE html>
.container {
position: relative;
-webkit-appearance: none;
-moz-appearance: none;
border: 1px solid black;
padding: 0;
background-color: buttonface;
float: left;
margin: 2px;
.margin {
margin: 5px 10px 5px 5px;
.sized {
width: 50px;
height: 50px;
.pink {
background-color: pink;
.float {
float: left;
.line {
height: 2px;
border-top: solid 1px #fff;
background: #00f;
position: absolute;
width: 50px;
bottom: 5px;
left: 5px;
You should see an almost-square grey rectangle containing a pink square with a blue line below it.
There should be no pink below the blue line.
<div class="container">
<div class="margin sized float">
<div class="sized">
<div class="sized pink">
<div class="line"></div>