随笔分类 -  HTML

HTML方面的随笔
摘要:底层模板字段:ID(同 id),title,iscommend,color,typeid,ismake,description(同 info),writer,shorttitle,memberidpubdate,senddate,arcrank,click,litpic(同 picname),typ 阅读全文
posted @ 2019-06-23 15:26 大尹 阅读(369) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zhuanshen/p/7098707.html 阅读全文
posted @ 2019-06-02 22:09 大尹 阅读(144) 评论(0) 推荐(0)
摘要:https://github.com/amfe/article/issues/17 阅读全文
posted @ 2019-06-02 22:03 大尹 阅读(131) 评论(0) 推荐(0)
摘要:<html> <head> <meta charset="utf-8"> <script> console.log(window.devicePixelRatio); var iScale = 1; iScale = iScale/window.devicePixelRatio; document. 阅读全文
posted @ 2019-06-02 22:01 大尹 阅读(1266) 评论(0) 推荐(0)
摘要:html {font-size: 62.5%!important; /* 10÷16=62.5% */}@media only screen and (min-width: 481px){ html { font-size: 94%!important; /* 15.04÷16=94% */ }}@ 阅读全文
posted @ 2019-05-28 09:29 大尹 阅读(2176) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content= 阅读全文
posted @ 2019-05-22 21:58 大尹 阅读(506) 评论(0) 推荐(0)
摘要:字间距 letter-spacing 首行缩进 text-indent 阅读全文
posted @ 2019-05-22 12:42 大尹 阅读(277) 评论(0) 推荐(0)
摘要:测试代码如下:(能够水平居中,通过text-align:center实现) <style>.box{ width:800px;height:600px;border:2px solid #000; text-align:center;}span{ display:inline-block; heig 阅读全文
posted @ 2019-05-22 12:08 大尹 阅读(475) 评论(0) 推荐(0)