css3新特性

來源:互聯網
上載者:User

標籤:

1、選取器

2、@font-face

3、word-wrap和text-overflow

word-wrap 設定當前行超過指定容器的邊界是否斷開換行,文字此時已經被打斷。

text-overflow:ellipsis

4、text-decoration 文字渲染

text-fill-color:文字內部填充顏色

text-stroke-color:文字邊界填充顏色

text-stroke-width:文字邊界寬度

5、多欄版面配置

column-count:表示布局幾列

column-rule:列與列之間間隔條的樣式

column-gap:列與列之間的間隔

6、邊框和顏色

rgb,hsla,border-radius

7、漸層效果

gradient

8、陰影和反射

元素陰影和文字陰影

text-shadow,box-shadow

9、背景效果

background-clip:背景畫區

background-origin:背景位置

background-size:調整背景圖片的大小

background-break:用來控制背景怎樣在這些不同的盒子中顯示

10、盒子模型

flex

11、transition,transform,animation

transition 過渡

transfrom 變化

animation 動畫

css3新特性

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.