css3 设置字体样式

xiaoxiao2021-02-28  66

<html>     <head>         <title>超链接提交表单</title>         <style>         #time{         background: #666;          -webkit-background-clip: text;          -moz-background-clip: text;          background-clip: text;          color: transparent;          text-shadow: -2px 3px 3px rgba(255,255,255,0.5);         font-size:70px;         text-align:center;         font-weight:900; /*字体粗细*/         letter-spacing:15px; /*字体间距*/                 }         div {    border:2px solid #a1a1a1;    padding:10px 20px 20px 10px;    background:rgba(221, 221, 221, 0);    width:auto;    border-radius:25px;    margin:10px auto; }         </style>         <script type="text/javascript" src="jquery-1.9.1.min.js"></script>              </head>     <body>               <div><p id="time">*CSS3 初学平台*</p></div>     </body> </html>
转载请注明原文地址: https://www.6miu.com/read-72583.html

最新回复(0)