11-css字体属性之复合属性

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css字体属性之复合属性</title>
    <style>
        div{
            /* font-style:italic;
            font: weight 700;
            font-size: 16px;
            font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            font: font-style font-weight font-size/line-height font-family  */
            font:italic 700 16px  "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif";      
        }
    </style>
</head>
<body>
    <div>三生三世十里桃花,一心一意百行代码</div>
</body>
</html>

 

posted @ 2021-08-07 17:03  hycsuper  阅读(155)  评论(0)    收藏  举报