웹프로그래머 금승훈님의 지식베이스 입니다.

WEB/CSS +1

유용한 CSS 모음

WEB/CSS2012.03.26 10:52
word-wrap:break-word;

text-overflow:ellipsis;
-o-text-verflow:elipsis;

@font-face{font-family:test; src:url(test.ttf);}

opacity:0.5;
*filter:alpaha(opacity=50);

box-shadow:10px 10px 10px silver;
-moz-box-shadow:10px 10px 10px silver;
-webkit-box-shadow:10px 10px 10px silver;
filter: progid.DXImageTransform.Microsoft.Shadow(color=silver;, direction=135, strength=10);

text-shadow:5px 5px 0 $ccc;
filter: progid.DXImageTransform.Microsoft.Shadow(OffX=5, OffY=5, Color=#fff, Positive=true);
display:inline-block; zoom:1;

//background: gradient
background:red -webkit-gradient(linear, 0% 0%, 0% 100%, from(red), to(#fff));
background:red -moz-linear-gradient(top, red, #fff);
filter: progid.DXImageTransform.Microsoft.gradient(startColorStr=red, endColorStr=#fff);

'WEB > CSS' 카테고리의 다른 글

유용한 CSS 모음  (2) 2012.03.26

Comment +2