iMac in CSS
I was bored, so I decided to make an iMac in CSS.
There isn't a stand yet.
I was bored, so I decided to make an iMac in CSS.
There isn't a stand yet.
<div id="webcam"></div>
<div id="webcam"></div>
<div id="screen">
<div id="screenshot"></div>
</div>
<div id="gray-piece"></div>
<div id="apple"></div>
<div id="stand"></div>
#webcam {
#webcam {
background: #444;
border: 2px solid #777;
border-radius: 30px;
width: 6px;
height: 6px;
position: absolute;
top: 2px;
left: 186px;
}
#screen {
width: 372px;
height: 200px;
border: 14px solid black;
background: black;
border-top-left-radius: 14px;
border-top-right-radius: 14px;
}
#screenshot {
background: url(http://forum.support.xerox.com/t5/image/serverpage/image-id/42iC79F36DC508B73E6/image-size/original?v=mpbl-1&px=-1) no-repeat;
background-size: 100%;
width: 372px;
height: 230px;
position: absolute;
top: 12px;
}
#gray-piece {
width: 400px;
height: 50px;
background: #ccc;
border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
}
#apple {
font-size: 26pt;
color: #555;
position: absolute;
top: 232px;
left: 180px;
}
#stand {
/* I need to work in this */
}