css的寫法,記錄下。

來源:互聯網
上載者:User

上代碼:

<!DOCTYPE HTML><html ><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312" /><style type="text/css">.mod-test1{font:20px/1.5;color:red;}.mod-test1.bg{ background:#dfdfdf; display:inline-block; padding:5px 10px;}.btn{background:#dfdfdf;display:inline-block;color:#000;border:1px solid #999;padding:5px 10px;}.btn:hover{background:blue;color:#fff;}</style><title>css的寫法</title></head><body><p>1.css的寫法問題</p><div class="mod-test1 bg">css的寫法問題測試</div><p>2.button的寫法(利用它可以做各種特效)</p><a href="#" class="btn">點擊提交</a></body>

</html> 

在此記錄一下,備忘,以後慢慢補充。 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.