ASCII码 ASCII码

0708class引入字体图标/PC媒体查询

发布于:2022-07-11 14:57:01  栏目:技术文档
  1. <body class="list">
  2. <div class="iconfont icon-wailaidengji dengji">外来登记</div>
  3. <div class="iconfont icon-wailairenyuandengji">外来人员登记</div>
  4. <div class="iconfont icon-wailaicheliangdengji">外来车辆登记</div>
  5. <div class="iconfont icon-wailaidengjizonglan">外来登记总览</div>
  6. <div class="iconfont icon-renyuanguanli">人员管理</div>
  7. <div class="iconfont icon-renyuanxinxi">人员信息</div>
  8. </body>
  1. @import url(font_0710/iconfont.css);
  2. .dengji{
  3. color: bisque;
  4. font-size: 2em;
  5. }
  6. .list > div:nth-of-type(2){
  7. color: blue;
  8. }
  9. .list > .icon-wailaicheliangdengji + div{
  10. color: aquamarine;
  11. font-size: 50px;
  12. }

  1. <div>我是屏幕大小</div>
  2. <div>我是屏幕大小</div>
  3. <div>我是屏幕大小</div>
  4. <div>我是屏幕大小</div>
  5. body{
  6. background-color: aqua;
  7. }
  8. @media (min-width:1024px){
  9. html{
  10. font-size : 3em;
  11. }
  12. }
  13. @media (min-width:1025px) and (max-width:1280px){
  14. html{
  15. font-size: 5em;
  16. color: brown;
  17. }
  18. }
  19. @media (min-width:1281px) and (max-width:1680px){
  20. html{
  21. font-size: 8em;
  22. color:blanchedalmond;
  23. }
  24. }

相关推荐
阅读 +