zoukankan      html  css  js  c++  java
  • 鼠标滑过文字时,文字高亮显示

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <style>

    .box { 280px; display:inline-block; color: #FFFFFF; background: #51930a; text-align: center;margin:0px auto;}
    .box:hover { background: #76cf16; -moz-transition: all 1s ease 0s; -webkit-transition:all 1s ease 0s; transition:all 1s ease 0s; -o-transition:all 1s ease 0s;}
    </style>
    </head>

    <body>
    <div class="box">我有背景颜色的切换哦</div>
    </body>
    </html>

  • 相关阅读:
    JS和Flash相互调用
    xml的应用
    随机验证码
    模块 time
    第一天 注册成功
    我的第一篇博客
    git
    2018-02-27
    25
    建站之星
  • 原文地址:https://www.cnblogs.com/mm2015/p/9088094.html
Copyright © 2011-2022 走看看