久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css怎么寫五角星

      css寫五角星的方法:首先創(chuàng)建一個(gè)HTML示例文件;然后通過small名class創(chuàng)建div;最后通過設(shè)置“transform: rotate(70deg);”等樣式來實(shí)現(xiàn)五角星即可。

      css怎么寫五角星

      本文操作環(huán)境:windows7系統(tǒng)、HTML5&&CSS3版,DELL G3電腦

      使用css實(shí)現(xiàn)五角星

      大五角星

      通過small名class創(chuàng)建div

      .small-all{ display: flex; margin:1rem 13%; } .small {     border-color: #7d7d7d transparent transparent transparent;     border-style: solid;     border-top-width: 9.375px;     border-right-width: 15px;     border-left-width: 15px;     height: 0;     margin-top: 9.375px;     margin-bottom: 6.02679px;     position: relative;     width: 0;     margin: 2rem 0.8rem; } .small:before,.small:after {     border-color: #7d7d7d transparent transparent transparent;     border-style: solid;     border-top-width: 9.375px;     border-right-width: 15px;     border-left-width: 15px;     content: '';     display: block;     height: 0;     left: -15px;     position: absolute;     top: -9.375px;     width: 0; } .small:before {     transform: rotate(70deg); } .small:after {     transform: rotate(-70deg); }

      實(shí)現(xiàn)效果

      css怎么寫五角星

      小五角星

      通過smaller名class創(chuàng)建div

      .smaller {     border-color: #7d7d7d transparent transparent transparent;     border-style: solid;     border-top-width: 5px;     border-right-width: 10px;     border-left-width: 10px;     height: 0;     margin-right: 1.2rem;     margin-top: 5px;     margin-bottom: 3.21429px;     position: relative;     width: 0; } .smaller:before,.smaller:after {     border-color: #7d7d7d transparent transparent transparent;     border-style: solid;     border-top-width: 5px;     border-right-width: 10px;     border-left-width: 10px;     content: '';     display: block;     height: 0;     left: -10px;     position: absolute;     top: -5px;     width: 0; } .smaller:before {     transform: rotate(70deg); } .smaller:after {     transform: rotate(-70deg); }

      實(shí)現(xiàn)效果

      css怎么寫五角星

      推薦學(xué)習(xí):《css視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號