亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

CSS3絢麗照片墻

Ben 產品經理
難度初級
時長30分
學習人數
綜合評分9.57
192人評價 查看評價
9.7 內容實用
9.5 簡潔易懂
9.5 邏輯清晰
  • z-index:元素上下層顯示順序
    查看全部
  • position:元素位置定位。主要使用絕對定位
    查看全部
  • box-shadow 陰影制作
    查看全部
  • 使用padding和背景色進行邊框的添加
    查看全部
  • transform:rotate(30deg); 順時針旋轉30° transform:scale(1.2); 放大1.2倍 transition:1s; 動畫從樣式1到樣式2的時間 box-shadow: 10px 11px 12px 13px #ccc; 盒子陰影 -webkit- 谷歌內核 -moz- 火狐內核 .container{width:960px;height:450px;margin:60px suto; position:relative;} img{padding:10px 10px 15px; background-color:#fff; border:1px solid #ddd;position:absolute; top:50px;left:200px;transform:rotate(20deg);-webkit-transform:rotate(20deg); -moz-transform:rotate(20deg) ;transition:1s ; -webkit-transition:1s ; -moz-transition:1s ; cursor:pointer;z-index:1; } img:hover{transform:rotate(0deg);-webkit-transform:rotate(0deg); -moz-transform:rotate(0deg) ; transform:scale(1.2);-webkit-transform:scale(1.2);-moz-transform:scale(1.2); box-shadow:2px 2px 2px #ccc;-webkit-box-shadow:2px 2px 2px #ccc;-moz-box-shadow:2px 2px 2px #ccc;z-index:100; }
    查看全部
  • transform:rotate(30deg); 順時針旋轉30° transform:scale(1.2); 放大1.2倍 transition:1s; 動畫從樣式1到樣式2的時間 box-shadow: 10px 11px 12px 13px #ccc; 盒子陰影 -webkit- 谷歌內核 -moz- 火狐內核
    查看全部
  • box-shadow 給元素的邊框添加陰影的效果 position 給元素定位,主要用到絕對定位 z-index 設置元素 的上下層顯示順序 transform 使元素變形的屬性 transition設置元素由樣式1轉變為樣式2的過程
    查看全部
  • 制作步驟: 每張照片的位置不一樣 每張照片有一定的旋轉角度 照片陰影及緩慢旋轉、緩慢放大的特效制作
    查看全部
  • CSS3中的transform: transform.rotate(旋轉角度); transform.scale(縮放倍數); transform.skew(扭曲元素);
    查看全部
  • -webkit-transform:rotate(0deg) scale(1); -moz-transform:rotate(0deg) scale(1); transform:rotate(0deg) scale(1); -webkit-transition:2s; -moz-transition:2s; transition:2s;
    查看全部
    0 采集 收起 來源:編程練習

    2015-09-12

  • <!DOCTYPE html> <html lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> .mainDiv{ width:100px; height:100px; margin:100px auto; text-align: center; line-height: 100px; font-weight: bold; color:#ddd; background:#ddd; border:1px solid #ddd; -webkit-transform:rotate(0deg) scale(1); -moz-transform:rotate(0deg) scale(1); transform:rotate(0deg) scale(1); -webkit-transition:2s; -moz-transition:2s; transition:2s; } .mainDiv:hover{ -webkit-transform:rotate(720deg) scale(1.2); -moz-transform:rotate(720deg) scale(1.2); transform:rotate(720deg) scale(1.2); -webkit-transition:ease-in; -moz-transition:ease-in; transition:ease-in; background:red; } </style> <title>css3特效</title> </head> <body> <div class="mainDiv">您好</div> </body> </html>
    查看全部
    0 采集 收起 來源:編程練習

    2018-03-22

  • CSS3旋轉特效 <style> .mainDiv{ width:100px; height:100px; margin:100px auto; text-align: center; line-height: 100px; font-weight: bold; color:#ddd; background:#ddd; border:1px solid #ddd; -webkit-transform:rotate(0deg) scale(1); -moz-transform:rotate(0deg) scale(1); transform:rotate(0deg) scale(1); -webkit-transition:1s; -moz-transition:1s; transition:1s; } .mainDiv:hover{ background:red; color:black; -webkit-transform:rotate(720deg) scale(2); -moz-transform:rotate(720deg) scale(2); transform:rotate(720deg) scale(2); } </style>
    查看全部
    0 采集 收起 來源:編程練習

    2018-03-22

  • 制作步驟
    查看全部
  • 關鍵技術點
    查看全部
  • 關鍵技術點
    查看全部

舉報

0/150
提交
取消
課程須知
本課程適合對CSS3感興趣的初學者,通過簡單絢麗的案例來熟悉重要的部分CSS3動畫屬性。
老師告訴你能學到什么?
1、簡單CSS3實現任意設置元素的旋轉角度。 2、簡單CSS3實現圖片的等比縮放。 3、利用CSS3將元素的樣式變化以動畫的方式展現出來。

微信掃碼,參與3人拼團

微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號

友情提示:

您好,此課程屬于遷移課程,您已購買該課程,無需重復購買,感謝您對慕課網的支持!