第一天学CSS,仿百度的搜索结果页面

今天是系统学习CSS的第一天,晚上做了个简单段落、链接等样式,依照百度搜索的结果页面。

Code:
  1. <html>  
  2. <head>  
  3. <style>  
  4. <!--   
  5. p{   
  6.     margin:0px;   
  7.     font-family:Arial;   
  8. }   
  9. p.title{   
  10.     padding-bottom:0px;   
  11.     font-size:16px;   
  12. }      
  13. p.content{   
  14.     padding-top:3px;   
  15.     font-size:13px;   
  16.     line-height:18px;   
  17. }   
  18. p.link{   
  19.     font-size:13px;   
  20.     padding-bottom:25px;   
  21.     color:#008000;   
  22. }   
  23. span.search{   
  24.     color:#c60a00;   
  25. }   
  26. span.quick{   
  27.     color:#666666;   
  28.     text-decoration:underline;   
  29. }   
  30. p.title span.search{   
  31.     text-decoration::underline;   
  32. }   
  33. -->  
  34. </style>  
  35. </head>  
  36. <body>  
  37. <a href="http://www.baidu.com/"><img src="http://www.baidu.com/img/logo-yy.gif" border="0"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值