码迷,mamicode.com
首页 > 其他好文 > 详细

立体字和镂空字

时间:2017-01-24 19:10:02      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:webkit   meta   type   pre   str   cube   color   head   oct   

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
.total {
margin: 100px auto;
width: 1150px;
font-size: 100px;
}
.total div:nth-child(1) {
color: blue;
text-shadow:9px 9px 9px orange,3px 3px 3px red,5px 5px 5px green,7px 7px 7px grey;
}
.total div:nth-child(2) {
-webkit-text-stroke: 2px blue;
color: transparent;
}
</style>
</head>
<body>
<div class="total">
<div class="cube">钱成:前端工程师(立体字)</div>
<div class="hollow">钱成:前端工程师(镂空字)</div>
</div>
</body>
</html>

立体字和镂空字

标签:webkit   meta   type   pre   str   cube   color   head   oct   

原文地址:http://www.cnblogs.com/qiancheng123/p/6347588.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!