css3怎么實(shí)現(xiàn)點(diǎn)擊出現(xiàn)不同顏色漣漪特效

本篇內(nèi)容介紹了“css3怎么實(shí)現(xiàn)點(diǎn)擊出現(xiàn)不同顏色漣漪特效”的有關(guān)知識(shí),在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!

站在用戶的角度思考問題,與客戶深入溝通,找到白云網(wǎng)站設(shè)計(jì)與白云網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類型包括:網(wǎng)站制作、做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、域名注冊、虛擬空間、企業(yè)郵箱。業(yè)務(wù)覆蓋白云地區(qū)。

<!DOCTYPE html>

<html >

<head>

  <meta charset="UTF-8">

  <title>css3點(diǎn)擊出現(xiàn)不同顏色漣漪特效</title>

<meta name="keywords" content=" css3點(diǎn)擊出現(xiàn)不同顏色漣漪特效 " />

<meta name="description" content=" css3點(diǎn)擊出現(xiàn)不同顏色漣漪特效 " />

 

 

      <style>

      /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */

      .ripple{

  position:absolute;

  width:100vmax;

  height:100vmax;

  top:-50vmax;

  left:-50vmax;

  border-radius:50%;

}

body{

  overflow:hidden;

}

.pad{

  position:absolute;

  left:0;

  right:0;

 

  top:0;

  bottom:0;

 

}

    </style>

 

 

 

</head>

 

<body>

  <!-- touch or click -->

 

<div class="pad"></div>

 

      <script src="js/index.js"></script>

 

</body>

</html>

Css部分:

.ripple{

  position:absolute;

  width:100vmax;

  height:100vmax;

  top:-50vmax;

  left:-50vmax;

  border-radius:50%;

}

body{

  overflow:hidden;

}

.pad{

  position:absolute;

  left:0;

  right:0;

 

  top:0;

  bottom:0;

 

}

“css3怎么實(shí)現(xiàn)點(diǎn)擊出現(xiàn)不同顏色漣漪特效”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!

網(wǎng)頁名稱:css3怎么實(shí)現(xiàn)點(diǎn)擊出現(xiàn)不同顏色漣漪特效
網(wǎng)頁URL:http://muchs.cn/article16/pppcgg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)、、網(wǎng)站策劃搜索引擎優(yōu)化、網(wǎng)站收錄、網(wǎng)站改版

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

外貿(mào)網(wǎng)站制作