Created
December 19, 2012 02:17
-
-
Save rocketxujia/4333825 to your computer and use it in GitHub Desktop.
边框透明css写法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.facebook { | |
position:absolute; | |
top:0px; | |
background: #3B5A98; | |
border: 20px solid rgba(134,134,134,0.5); | |
padding: 10px; | |
color: #fff; | |
text-align: center; | |
width: 150px; | |
height: 65px; | |
line-height: 65px; | |
-moz-border-radius: 15px; | |
-webkit-border-radius: 15px; | |
border-radius: 15px; | |
font: bold 25px Airal; | |
-moz-background-clip: padding; | |
-webkit-background-clip: padding-box; | |
-o-background-clip: padding-box; | |
background-clip: padding-box; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fewfwfwefwefwef | |
<div class="facebook"> | |
tetwtetewtw | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment