• CSS自适应宽度圆角按钮


    <style>
    a{background:url(http://5key.net/demo/liquid-css-menu/1.gif) left 0;  color:#fff; text-decoration:none; height:30px; float:left; cursor:hand; margin:0 5px 0 0;}
    #aa a:hover{background:url(http://5key.net/demo/liquid-css-menu/1.gif) left -30px;height:30px;}
    #aa a span{background:url(http://5key.net/demo/liquid-css-menu/1.gif) right 0;  padding:9px 8px 5px 0; margin:0 0 0 8px; float:left; height:16px;}
    #aa a:hover span{background:url(http://5key.net/demo/liquid-css-menu/1.gif) right -30px; color:#000;  padding:9px 8px 5px 0; margin:0 0 0 8px; height:16px;  }
    </style>
    <div id="aa">
    <h1><strong>CSS自适应宽度圆角按钮</strong></h1>
    <a href="#"><span>首页</span></a> <a href="#"><span>不是首页</span></a> <a href="#"><span>他也许是首页</span></a> <a href="#"><span>但他一定不是首页</span></a> <a href="#"><span>好了,就这样把。别扯了~</span></a>
    </div>

  • 相关阅读:
    使用kubeadm部署K8S v1.17.0集群
    06Shell并发控制
    05Shell循环语句
    04Shell流程控制
    03Shell条件测试
    02Shell变量
    01Shell入门02-echo和printf
    01Shell入门01-bash Shell特性
    局域网部署ntp时间服务器
    聊聊、Mybatis集成Spring XML方式
  • 原文地址:https://www.cnblogs.com/yaojaa/p/1348092.html
Copyright © 2020-2023  润新知