An example of a Ps cs5 Logo drawn by CSS3

Source: Internet
Author: User

 


The specific effect is as follows:

Htm

The code is as follows: Copy code
<Div id = "cs5">
<A href = ""> ps </a>
<Div id = "top-border"> </div>
<Div id = "top-triangle"> </div>
<Div id = "top-inner"> </div>
<Div id = "left-filler"> </div>
<Div id = "bottom-left-side-triangle"> </div>
</Div>

Css

The code is as follows: Copy code

# Cs5 {
Float: left;
Height: 191px;
Width: 191px;
}
# Cs5 {
Background-color: # 024e9d;
Background-image:-moz-linear-gradient (100% 100% 90deg, # 020000f, #0267c9 );
Background-image:-webkit-gradient (linear, 0% 0%, 0% 100%, from (#0267c9), to (# 02366f ));
Color: # 03d4fd;
Display: block;
Font: normal bold 100px Arial, Verdana, Tahoma, sans-serif;
Font-variant: small-caps;
Height: 152px;
Letter-spacing:-2px;
Margin: 14px 0 0 14px;
Padding: 25px 0 0 0;
Position: absolute;
Text-align: center;
Text-decoration: none;
Text-shadow: 0px 0px 4px # 00459d;
Width: 177px;
Z-index: 10;
}
# Top-border {
Background: #2 baccb;
Float: left;
Height: 1px;
Width: 177px;
}
# Top-triangle {
Border-top: 7px solid #00 edfe;
Border-right: 7px solid #00 edfe;
Border-bottom: 6px solid # 003f8f;
Border-left: 7px solid # 003f8f;
Margin: 1px 0 0 0;
Position: absolute;
Z-index: 9;

}
# Top-inner {
Background-color: #00 edfe;
Height: 13px;
Margin: 1px 0 0 14px;
Position: absolute;
Width: 162px;
Z-index: 9;
Background-image:-webkit-gradient (linear, 0% 0%, 90% 100%, from (#00 edfe), to (# 01b1ee ));
}
# Left-filler {
Background-color: #091d43;
Height: 160px;
Margin: 14px 0 0 0;
Position: absolute;
Width: 14px;
Z-index: 9;
Background-image:-webkit-gradient (linear, 0% 0%, 0% 100%, from (# 003f8f), to (#091d43 ));
}
# Bottom-left-side-triangle {
Border-top: 9px solid #091d43;
Border-right: 7px solid #091d43;
Border-bottom: 9px solid # fff;
Border-left: 7px solid # fff;
Margin: 173px 0 0 0;
Position: absolute;
Z-index: 9;

}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.