![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
我有理想.
一只怀有远大抱负的小程序猿
展开
-
html手机适配代码
放在head头部里面 <script> (function (doc, win) { var docEl = doc.documentElement, isIOS = navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), dpr = isIOS ? Math.min(win.devicePixelRatio, 3) : 1原创 2020-10-26 16:14:06 · 927 阅读 · 1 评论 -
css清除默认样式
body,ul,li,dl,dt,dd,p,ol,h1,h2,h3,h4,h5,h6,form,img,table,fieldset,legend,input{margin:0; padding:0;}ul,li,ol{list-style:none;}img,fieldset{border:0; }img{display:block;}a{text-decoration:none; color:#333;}h1,h2,h3,h4,h5,h6,strong{font-weight:100;}bo原创 2020-10-26 16:10:41 · 260 阅读 · 0 评论 -
js设置进出动画简单设置
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="https://cdn.bootcss.com.原创 2020-09-10 22:11:33 · 831 阅读 · 0 评论