Pure CSS3 Forrst Icon

Pure CSS3 Forrst Icon

Just was messing around and made this Forrst Icon using CSS3. This is all CSS3 coding (no images used), It works with Google Chrome and Mozilla, I never checked it out on Safari but I'm sure it's fine on that too. Our profile on Forrst is http://forrst.com/people/IconDeposit for more of my posts.

Zoom in and out, it's all CSS3 code!

The Wikidot syntax (for wikidot users):

[[div class="forrst-wrap"]]
[[div class="forrst-tree"]]
[[div class="forrst-trunk"]]
[[div class="forrst-branch1"]]
[[div class="forrst-branch2"]]
[[div class="forrst-branch3"]]
[[/div]]
[[/div]]
[[/div]]
[[/div]]
[[/div]]
[[/div]]

The HTML coding:

<div class="forrst-wrap">
<div class="forrst-tree">
<div class="forrst-trunk">
<div class="forrst-branch1">
<div class="forrst-branch2">
<div class="forrst-branch3">
</div>
</div>
</div>
</div>
</div>
</div>

The CSS:

.forrst-wrap { /* Background of Icon */
    width: 300px ; 
    height: 300px ; 
    border: none ;
    background: #335D30;
    background: -moz-linear-gradient(top,#4A7746 25%,#335D30 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(25%,#4A7746),color-stop(100%,#335D30));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4A7746',endColorstr='#335D30',GradientType=0);
    padding: 8px 15px 8px 12px;
    margin: 30px auto 0  ; 
    padding: 30px ; 
    -webkit-border-radius: 200px ;
    -moz-border-radius: 200px ; 
    border-radius: 61px; 
    position : relative; 
    -webkit-box-shadow: 0 0 7px #1A3911 ; 
    -moz-box-shadow: 0 0 7px #1A3911 ;
    box-shadow: 0px 0px 5px rgba(255,255,255,.5), inset 1px 1px 5px rgba(255,255,255,0.5) ;
    top:-20px;
}
 
.forrst-tree { /* Forrst Tree */
    margin: 0 auto ; 
    border-left: 120px solid transparent; 
    border-right: 120px solid transparent; 
    border-bottom: 270px solid #4a9e64 ; 
    width: 2px ; 
    position: relative;
}
.forrst-trunk { /* The Tree Trunk */
    width: 20px ; 
    height: 125px ; 
    background: #336f30;
    position: absolute ; 
    top: 170px ; 
    left: -10px ; }
 
.forrst-branch1, .forrst-branch2, .forrst-branch3 { /* The Branches */ position: absolute; width: 13px; height: 45px; background: #336f30; }
.forrst-branch1 { /* Left Branch */ left: -13px; top: 20px; margin-righ: 50px; -moz-transform: rotate(-55deg) !important; -webkit-transform: rotate(-55deg) !important;}
.forrst-branch2 { /* Top Right Branch */ left: 25px; top: 20px; -moz-transform: rotate(-55deg) !important; -webkit-transform: rotate(-55deg) !important;}
.forrst-branch3 { /* Bottom Left Branch */ left: -30px; top: -10px; right: -60px; -moz-transform: rotate(-0deg) !important; -webkit-transform: rotate(-0deg) !important; height: 60px !important;}

09 Jun 2011 22:21

rating: 0+x

Add a New Comment
2015-09-10_1852.png

About Us

Here at the Icon Deposit, we give you the opportunity to post your icons, designs, codes, and screenshots to promote your work and gain new clients. We feature hundreds of free icons, icon sets, UI/UX design, illustrator graphics, vector art, code tutorials for CSS, CSS3, JQuery, photoshop tutorials and tons more. If you would like a custom design or website built, Contact Us.

Popular Posts

Copyright © 2011-2019 Icon Deposit - All rights Reserved