• 技术文章 >web前端 >html教程

    静态百度页面_html/css_WEB-ITnose

    2016-06-24 11:34:32原创824

      1.百度页面

      2. html代码文件

     1  2  3  4     百度一下,你也不知道咯 5      6 
    
    7 8
    9 10 11 21 22 23
    24
    25 26
    27
    28 29
    30 31 32
    33 38
    39

    40 ©2015 Baidu 使用百度前必读 意见反馈 京ICP证030173号 41

    42
    43
    44
    45
    46 47

      3. css代码文件

      1 /*--重置body--*/  2 body  3 {  4     border: 0;  5     margin: 0;  6 }  7   8 /*--重置button的边框--*/  9 input,button 10 { 11     border:0; 12 } 13  14 /*--上面选项菜单--*/ 15 #nav 16 { 17     text-align: right; 18     margin-top: 21px; 19     margin-right: 8px; 20     font-size: 13px; 21 } 22  23 #nav a 24 { 25     color: #333; 26     font-weight:bold; 27     margin:0 7px; 28 } 29  30 #nav a.set, 31 #nav a.login 32 { 33     font-weight:normal; 34 } 35  36 #nav button 37 { 38     background: #38f; 39     padding:4px 5px; 40     margin-left:5px; 41     color:White; 42 } 43  44 #nav a:hover 45 { 46     color:#00C; 47 } 48  49 /*--主要部分--*/ 50 #main 51 { 52     width:655px; 53     height:488px; 54     margin:0 auto; 55 } 56  57 /*--百度一下背景图片--*/ 58 #main .photo 59 { 60     text-align:center; 61     margin-bottom:19px; 62 } 63  64 #main input 65 { 66     border:1px solid #BBB;     67     width:540px; 68     height:32px; 69     padding-left:5px; 70     margin:0; 71 } 72  73 #main input.sub 74 { 75     width:100px; 76     height:36px; 77     background: #38f; 78     color:White; 79     font-size:15px; 80 } 81  82 #main input.si 83 { 84     float:left; 85 } 86  87 /*--最底一块--*/ 88 #bottom 89 { 90     margin-top:249px; 91 } 92  93 #bottom .ap 94 { 95     font-size:12px; 96     text-align:center; 97 } 98  99 #bottom .ap a100 {101     margin:0 6px;102     color:Blue;103 }104 105 #bottom .ap p106 {107     color:#666;108 }

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:静态百度页面
    上一篇:bootstrap字体图标_html/css_WEB-ITnose 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • 如何考评一名前端工程师?_html/css_WEB-ITnose• 为什么是这样的?_html/css_WEB-ITnose• 引入外部CSS的两种方式及区别_html/css_WEB-ITnose• web开发中比较常用的html标签_html/css_WEB-ITnose• 初识CSS_html/css_WEB-ITnose
    1/1

    PHP中文网