啧啧啧( ̄︶ ̄),国庆人太多,所以假期还没结束就提前几天回来了。今天也是挤火车赶回来的,被夹在门里好尴尬啊~~
回家的这几天在外婆家招待过的好爽啊,又是鱼又是肉,馋的我都不想走了。
然而自己在家只能“啃馒头”了,呜呜呜。
Let’s begin!我们再来看CSS之text-stroke(文本描边)
我们来看看text-stroke的属性语法:
text-stroke-width:设置或检索对象中文字的描边厚度text-stroke-color:设置或检索对象中文字的描边颜色
我们来看看页面上运行展示的效果:
<!–
html,body{text-align:center;}
.stroke{background:#CCC}
.stroke h1{margin:auto;padding:10px 0 0;}
.stroke h2{margin:auto;padding:10px 0 0;}
.stroke p{
margin:10px auto 10px;font-size:100px;
-webkit-text-stroke: 1.5px #00ff00;
}
–>