子集高度高于父级,要求父级右下角定位一个div,不随子集的滑动而变化位置
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="
阅读全文
posted @
2017-10-16 09:27
大头小明
阅读(203)
推荐(0)
数组有一项为false,则返回false;全为true,则返回true
摘要:<html> <head> </head> <body> <p>更改数组验证试试</p> </body> <script src='jquery-1.8.3.min.js'></script> <script> var arr = [true,false,true]; checkAllTrue();
阅读全文
posted @
2017-10-16 09:23
大头小明
阅读(997)
推荐(0)
左边固定宽度,右边自适应屏幕铺满
摘要:<html> <head> <title>左右布局</title> <style> .left{ width:200px; height:100%; float:left; background-color: aquamarine; } .right{ width:calc(100% - 200px
阅读全文
posted @
2017-10-16 09:12
大头小明
阅读(214)
推荐(0)