圆形的hover效果 多种style可供选择见demo
程序员文章站
2022-04-27 17:53:36
...
当鼠标浮动时 会呈现圆形的富有生动的多重样式的动态效果
这种样式一般会在网页底端应用
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Circle Hover Effects with CSS Transitions</title> <meta name="description" content="Circle Hover Effects with CSS Transitions" /> <meta name="keywords" content="circle, border-radius, hover, css3, transition, image, thumbnail, effect, 3d" /> <meta name="author" content="Codrops" /> <link rel="shortcut icon" href="../favicon.ico"> <link rel="stylesheet" type="text/css" href="css/demo.css" /> <link rel="stylesheet" type="text/css" href="css/common.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,700' rel='stylesheet' type='text/css' /> <script type="text/javascript" src="js/modernizr.custom.79639.js"></script> <!--[if lte IE 8]><style>.main{display:none;} .support-note .note-ie{display:block;}</style><![endif]--> </head> <body> <div class="container"> <header> <h1><strong>Circle</strong> Hover Effects</h1> <h2>Pretty hover effects on circles with CSS Transitions</h2> <nav class="codrops-demos"> <a class="current-demo" href="index.html">Demo 1</a> <a href="index2.html">Demo 2</a> <a href="index3.html">Demo 3</a> <a href="index4.html">Demo 4</a> <a href="index5.html">Demo 5</a> <a href="index6.html">Demo 6</a> <a href="index7.html">Demo 7</a> </nav> <div class="support-note"><!-- let's check browser support with modernizr --> <!--span class="no-cssanimations">CSS animations are not supported in your browser</span--> <span class="no-csstransforms">CSS transforms are not supported in your browser</span> <!--span class="no-csstransforms3d">CSS 3D transforms are not supported in your browser</span--> <span class="no-csstransitions">CSS transitions are not supported in your browser</span> <span class="note-ie">Sorry, only modern browsers.</span> </div> </header> <section class="main"> <ul class="ch-grid"> <li> <div class="ch-item ch-img-1"> <div class="ch-info"> <h3>Use what you have</h3> <p>by Angela Duncan <a href="http://drbl.in/eOPF">View on Dribbble</a></p> </div> </div> </li> <li> <div class="ch-item ch-img-2"> <div class="ch-info"> <h3>Common Causes of Stains</h3> <p>by Antonio F. Mondragon <a href="http://drbl.in/eKMi">View on Dribbble</a></p> </div> </div> </li> <li> <div class="ch-item ch-img-3"> <div class="ch-info"> <h3>Pink Lightning</h3> <p>by Charlie Wagers <a href="http://drbl.in/ekhp">View on Dribbble</a></p> </div> </div> </li> </ul> </section> </div> </body> </html>
上一篇: 手把手做一个PHP 投票系统