html&css
sky依旧蔚蓝丶
一名不知名的前端萌新
展开
-
给div加横向滚动栏,然后去修改滚动条的样式,以下只给chrome做了兼容。
直接上代码css:html { font-size: 100px; } .bottomPrizelist-in { float:left; overflow-x:scroll; overflow-y:hidden; width: 3rem; height: 2.6rem; background: rgba(0, 255, 0, .3); ...原创 2018-06-22 10:05:45 · 3793 阅读 · 0 评论 -
移动端,div点击瞬间,出现阴影问题。
safari测试中意识到的问题,以求更好的用户体验,这种问题绝对要解决,后来使用了以下方法,那么div被点击的时候就不会有阴影出现,同理rgba(0, 0, 0, 0) 也可以改transparent (透明色) 作用相同。 div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}...原创 2018-07-05 10:37:55 · 4068 阅读 · 0 评论 -
bootstrap tab选项卡 模板
来源于菜鸟教程,复制粘贴过来,为了以后争分夺秒更便于使用 <!DOCTYPE html> <html lang="en"> <head> <base target="_self"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8&转载 2018-08-10 11:22:51 · 1830 阅读 · 0 评论