zoukankan      html  css  js  c++  java
  • 用CSS设置Select样式

     1 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     2 <head>
     3 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
     4 <title>用CSS设置Select样式</title>
     5 <style type="text/css">
     6 <!--
     7 div {
     8         border:1px solid #c00;
     9         width:123px;
    10         height:18px;
    11         clip:rect(0px,18px,22px,0px);
    12         overflow:hidden;
    13 }
    14 select {
    15         position:relative;
    16         left:-2px;
    17         top:-2px;
    18         font-size:12px;
    19         width:125px;
    20         line-height:18px;
    21         border:0px;
    22         color:#909993;
    23 }
    24 -->
    25 </style>
    26 </head>
    27 <body>
    28 <div>
    29     <select>
    30     <option>我爱CSS</option>
    31     <option>Div+CSS教程</option>
    32     <option>CSS布局实例</option>
    33     <option>CSS2.0教程</option>
    34     <option>CSS在线手册</option>
    35     <option>Web标准</option>
    36     <option>XHTML教程</option>
    37     </select>
    38 </div>
    39 </body>
    40 </html>
  • 相关阅读:
    07 selenium模块基本使用
    06 高性能异步爬虫
    05 request高级操作
    04 验证码识别
    03 数据解析
    02 requests模块
    01 爬虫简介
    Get和Post的正解
    pytoch之 encoder,decoder
    pytorch之 RNN 参数解释
  • 原文地址:https://www.cnblogs.com/pyblogs/p/3492354.html
Copyright © 2011-2022 走看看