您的位置:首页 > 数码常识数码常识

html+css代码(CSS样式代码)

2025-05-15人已围观

html+css代码(CSS样式代码)
  html+css实例源代码:实例代码

  CSS样式代码

  #div1{background: #9a9af8 ;

  margin: 0 15%;

  }

  h1{

  height: 70px;

  color: white;

  background: cornflowerblue;

  line-height: 70px;

  text-indent: 50px;

  }

  #div2{

  text-align: center;

  }

  #div2 li{

  display: inline-block;

  width: 100px;

  height: 30px;

  background: cornflowerblue;

  line-height: 30px;

  border: 2px solid cornflowerblue;

  border-radius: 0 20px;

  }

  #div2 li a{

  text-decoration: none;

  color: white;

  }

  #div2 li a:hover{font-weight: bold;}

  .center{text-align: center;}

  .center img{width: 190px;height: 300px;margin:0 10px;}

  .center video{width: 650px;height: 300px;margin:0 10px;}

  .margin{margin: 0 5%;}

  .margin p{text-indent: 2em;}

  textarea{width: 100%;height: 100px;}

  #copyright{background: cornflowerblue;

  text-align: center;

  color: white;

  height: 70px;

  line-height: 70px;

  font-size: 12px;

  }

  ---------------------------------------------

  html+css实例源代码:实例代码

  上面就是小居数码小编今天给大家介绍的关于(CSS样式代码)的全部内容,希望可以帮助到你,想了解更多关于数码知识的问题,欢迎关注我们,并收藏,转发,分享。

  94%的朋友还想知道的:

  cad尺寸标注样式设置详细图文教程(CAD设置尺寸标注)

  word样式与格式设置步骤(word文档如何设置样式)

  无法激活的解决办法(autocad2020安装失败错误代码1603)

  按键精灵定时启动脚本的代码(脚本也能有定时功能吗)



  155632
 

很赞哦! ()

随机图文