第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Css3:一條線圍繞這容器邊緣轉(zhuǎn)動。不知道怎么實現(xiàn)。

Css3:一條線圍繞這容器邊緣轉(zhuǎn)動。不知道怎么實現(xiàn)。

whoamis 2016-12-13 19:28:08
就是類似于這樣,這個容器外面 有一條 線,然后圍繞著這個容器慢慢的轉(zhuǎn)動。
查看完整描述

2 回答

?
Junru

TA貢獻(xiàn)5條經(jīng)驗 獲得超4個贊

這個線的長度 是小于正方形盒子容器的寬度,還是 等于或大于盒子容器的寬度?

查看完整回答
反對 回復(fù) 2016-12-14
?
Chris_威

TA貢獻(xiàn)2條經(jīng)驗 獲得超1個贊

<!DOCTYPE?html>
<html?lang="en">
<head>
????<meta?charset="UTF-8">
????<title>rotate</title>
</head>
<style>
?*{
?margin:?0;
?padding:?0;
?}
????.wrapper{
?padding:?20px;
?position:?relative;
?height:?250px;
?}
????.main{
?height:?200px;
?width:?200px;
?margin:?25px?auto;
?box-shadow:?inset?0?0?0?1px?rgba(105,?202,?98,?0.5);
?}
????.main?,?.main::before,?.main::after?{
?position:?absolute;
?top:?0;
?bottom:?0;
?left:?0;
?right:?0;
?}
????.main::before,?.main::after?{
?content:?'';
?margin:?-5%;
?box-shadow:?inset?0?0?0?2px?rgba(105,?202,?98,?0.5);
?animation:?clip?8s?linear?infinite;
?}
????.main::before?{
?animation-delay:?0s;
?}

?@keyframes?clip?{
?0%,?100%?{
?clip:?rect(0px,?220.0px,?2px,?0px);
?}
?25%?{
?clip:?rect(0px,?2px,?220.0px,?0px);
?}
?50%?{
?clip:?rect(218.0px,?220.0px,?220.0px,?0px);
?}
?75%?{
?clip:?rect(0px,?220.0px,?220.0px,?218.0px);
?}
????}
</style>
<body>
????<div?class="wrapper">
????????<div?class="main"></div>
????</div>
</body>
</html>

有個類似的,你參考參考

查看完整回答
反對 回復(fù) 2016-12-13
  • 2 回答
  • 0 關(guān)注
  • 3929 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號