返回鼠标移动时显示......登陆

鼠标移动时显示特效文字DIV的焦点

             2019-01-07 20:40:43162

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

<style>

*{padding:0%;margin:0%;}

#box{width: 100px;height: 100px;background: violet;border:10px dotted #ccc;margin: 20px auto;border-radius: 10px;}

.main{width: 100px;height: 100px;background: violet;border-top:10px solid #ccc;border-bottom: 10px solid #ccc;margin: 100px auto;}

button{border:none;margin: 20px;}

.shadow{width: 300px;height:40px;margin: 20px auto;}

.shadow:hover{width: 300px;height:40px;box-shadow: 0px 6px 30px #ccc inset;margin: 20px auto;}

</style>

</head>

<body>

<div id="box"></div>

<div class="main"></div>


<div class="shadow">特效</div>

</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送