10.15課堂內容

來源:互聯網
上載者:User

標籤:color   os   ar   for   sp   on   ad   ef   bs   

blockquote:效果:

<blockquote>一段文字</blockquote>

blockquote{
width: 500px;
height: 300px;
background: rgb(255,253,228);
font-family: "幼圓";
font-size: 20px;
font-weight: bold;
line-height: 40px;
}
blockquote::before{
width: 40px;
height: 34px;
padding-top: 6px;
text-align: center;
content: open-quote;
font-size: 20px;
font-family: "華文琥珀";
/*display: block;*/
border-radius: 100%;
float: left;
color: #fff;
background-color: #bbb;

}
blockquote:after{
content: close-quote;
font-size: 20px;
font-family: "華文琥珀";
}

顏色分布:

.選取器{
width: 200px;
height: 200px;
/*1屬性:漸層角度 2屬性:顏色+空格+純色的長度(百分比、px)。。*/
background:-webkit-linear-gradient(top right,red 50px,yellow);
/*background:-webkit-linear-gradient(-135deg,red 50px,yellow);*/
/*最簡寫法*/
/*background:-moz-linear-gradient(red,yellow); */
/*rgba中的a指的是透明度*/
/*background:-webkit-linear-gradient(left top,rgba(160,232,10,1),rgba(3,188,250,0.5)); */
/*background:-webkit-linear-gradient(-135deg,rgba(160,232,10,1),rgba(3,188,250,0.5)); */
/*可以增加多個顏色,注意後面的百分比>前面的百分比*/
/*background: -webkit-radial-gradient(pink 5px,green 15px,#faa 20px,#000 30px,yellow 40px,blue 50px);
border-radius: 50%;*/
/*重複的線性變換*/
/*background:-webkit-linear-gradient(red,yellow,red,blue,yellow);*/

 

10.15課堂內容

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.