日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

html文本弹性,HTML5 很有趣的文本蹦床/弹性弯曲动效

發布時間:2024/7/23 HTML 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html文本弹性,HTML5 很有趣的文本蹦床/弹性弯曲动效 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

CSS

語言:

CSSSCSS

確定

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,800,300);

html,

body {

height: 100%;

}

body {

display: -webkit-box;

display: -webkit-flex;

display: -ms-flexbox;

display: flex;

-webkit-box-pack: center;

-webkit-justify-content: center;

-ms-flex-pack: center;

justify-content: center;

-webkit-box-align: center;

-webkit-align-items: center;

-ms-flex-align: center;

align-items: center;

background: -webkit-radial-gradient(#33334d, #1e1e2e);

background: radial-gradient(#33334d, #1e1e2e);

overflow: hidden;

cursor: -webkit-grab;

font: 900 14vw Open Sans !important;

line-height: 180vh;

letter-spacing: -2.1vw;

text-transform: uppercase;

text-shadow: 0 2px 15px #33334d;

}

span {

display: inline-block;

position: relative;

}

span:nth-child(1) {

z-index: 5;

}

span:nth-child(2) {

z-index: 4;

}

span:nth-child(3) {

z-index: 3;

}

span:nth-child(4) {

z-index: 2;

}

span:nth-child(5) {

z-index: 1;

}

span:nth-child(6) {

z-index: 0;

}

span:nth-child(1),

span:nth-last-child(1) {

-webkit-transform: rotateX(8deg);

transform: rotateX(8deg);

color: #ff8400;

}

span:nth-child(2),

span:nth-last-child(2) {

-webkit-transform: rotateX(16deg);

transform: rotateX(16deg);

color: #f6ff00;

}

span:nth-child(3),

span:nth-last-child(3) {

-webkit-transform: rotateX(24deg);

transform: rotateX(24deg);

color: #73ff00;

}

span:nth-child(4),

span:nth-last-child(4) {

-webkit-transform: rotateX(32deg);

transform: rotateX(32deg);

color: #0f1;

}

span:nth-child(5),

span:nth-last-child(5) {

-webkit-transform: rotateX(40deg);

transform: rotateX(40deg);

color: #00ff95;

}

span:nth-child(6),

span:nth-last-child(6) {

-webkit-transform: rotateX(48deg);

transform: rotateX(48deg);

color: #00e5ff;

}

總結

以上是生活随笔為你收集整理的html文本弹性,HTML5 很有趣的文本蹦床/弹性弯曲动效的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。