- 博客(5)
- 收藏
- 关注
原创 angular分页
使用angular版本:1.7html <div class="abouts"> <div class="commentbox" > <ul> <li> <div class="number">{$good_percent}%</div> <p>好评度</p>...
2019-11-30 21:10:34
51
原创 jq滚动事件无效
源码: $(window).scroll(function(){ console.log('scroll'); })滚动无效,不报错无输出.解决方案: window.addEventListener('scroll', function(){ console.log('scroll'); });兼容写法function scroll() { ...
2019-11-30 10:40:51
977
转载 css浏览器兼容
不同浏览器样式会显示有差别,对此产生的css hank/Chrome/@media screen and (-webkit-min-device-pixel-ratio:0) {.consureBtn {width: 30px;height: 25px;background: #0188fb;border: none;color: white;margin-left: 0px;...
2019-11-10 10:22:00
35
原创 一个关于安卓和苹果的兼容问题
1.问题描述:一个fixed定位的导航栏,安卓和PC端可以显示,但是iphone上面却无法显示。2.问题查找:首先排除js的问题,因为iPhone能触发该点击事件也能对类“open”进行操作判断,经过查找最后发现我在最外包裹的层上写了一个“overflow:hidden”,我去掉了它,然后终于能显示了。3.结论:安卓和pc端浏览器上overflow:hidden对于fiexd定位的层无效,而i...
2019-11-10 10:18:23
455
转载 CSS实现爱心的画图
*CSS实现爱心的画图#heart{width: 100px;height: 90px;position: relative;}#heart:before,#heart:after{width: 50px;height: 80px;left: 50px;top: 0;background-color: red;position: absolute;content: "";...
2019-11-10 10:06:16
157
空空如也
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝