Skip to content

Instantly share code, notes, and snippets.

@rocketxujia
Created December 19, 2012 02:17
Show Gist options
  • Save rocketxujia/4333825 to your computer and use it in GitHub Desktop.
Save rocketxujia/4333825 to your computer and use it in GitHub Desktop.
边框透明css写法
.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;
}
fewfwfwefwefwef
<div class="facebook">
tetwtetewtw
</div>
// alert('Hello world!');
{"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