Microsoft has released their new OS “Windows 8” with a new look and a
very simple new logo. It is a simple eye catching ‘dark turquoise’
colored logo. It is very simple because there isn’t used any shadow,
gradient and mainly it is a one colored logo. You guys might already
tried to redesign the windows 8 logo in image processing tools like
Photoshop, Illustrator etc. let’s try with only CSS and little HTML.
Well here this article is about to create the windows 8 logo using HTML
and CSS. So let’s start and enjoy the power of CSS.
The HTML and CSS Code to create the windows 8 logo
<html>
<style type="text/css">
.win-container {
background: none repeat scroll 0 0 #EEEEEE;
border: 1px dotted #D0D0D0;
height: 220px;
margin: 50px auto;
padding: 69px 13px 0 22px;
transform: scale(0.8);
-moz-transform: scale(0.8);
-webkit-transform: scale(0.8);
-o-transform: scale(0.8);
width: 900px;
}
.box {
background: none repeat scroll 0 0 #00CCFF;
float: left;
height: 147px;
position: relative;
transform: perspective(374px) rotateY(-37deg);
-moz-transform: perspective(374px) rotateY(-37deg);
-webkit-transform: perspective(374px) rotateY(-37deg);
-o-transform: perspective(374px) rotateY(-37deg);
width: 200px;
}
.box:after, .box:before {
background: none repeat scroll 0 0 #EEEEEE;
content: "";
height: 100%;
left: 50%;
margin-left: -3px;
position: absolute;
top: 0;
width: 8px;
}
.box:before {
height: 6px;
left: 0;
margin-left: 0;
margin-top: -5px;
position: absolute;
top: 50%;
width: 100%;
}
.win-text {
color: #00CCFF;
float: left;
font-family: myriad pro;
font-size: 138px;
font-style: normal;
font-weight: normal;
margin-left: 0;
margin-right: 0;
margin-top: -6px;
padding-left: 40px;
}
</style>
<div class="win-container">
<div class="box"></div>
<div class="win-text">Windows 8</div>
</div>
</html>
Instruction:
- Open a text editor like Notepad, Notepad++, Geany etc.
- (I recommend using Notepad of Windows)
- Copy and paste the code just I provided
- Save as example.html
- Open “example.html
No comments:
Post a Comment