随笔分类 -  html/css

摘要:记录一下这个页面跳转一直刷新。 1.判断页面宽度,来判断跳转到那个页面(核心代码)。注:这里要要建立一个空文件来做一个跳转 var windowWidth = $(window).width(); var code = window.location.href.getQuery("code"); i 阅读全文
posted @ 2020-01-06 23:53 小哲2018 阅读(383) 评论(0) 推荐(0)
摘要:css的优先级 和 权重问题 以及 !important 优先级 css选择有多少种? 行内样式(style="") id选择器(#) class选择器(类,伪类) 元素选择器(标签元素和伪元素) css的优先级:行内样式>id选择器>class选择器>元素选择器 !important :表示强制应 阅读全文
posted @ 2018-12-06 21:22 小哲2018 阅读(235) 评论(0) 推荐(0)