楊子CSS學習筆記~

來源:互聯網
上載者:User

div 加手形連結
style="cursor: pointer" mce_style="cursor: pointer"> 

 

 

超連結去掉底線

<style type="text/css">
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:active {text-decoration: none;}
a:hover {text-decoration: none;}
</style>

超連結不變色代碼
<style type="text/css">
 a:visited {
  color: #828282;
 }
 a:hover {
  color: #828282;
 }
 a:active {
  color: #828282;
 }
 a:link {
  color: #828282;
 }
</style>

 

自動換行代碼
<div style='width:500px;word-break:break-all;'>adsasdasdasd</div>

加架構
border:1px solid red;

相關文章

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.