摘要: 盒子的模型宽度不是你设置的width的值,根据box-sizing设置的属性决定, 如果为content-box那么元素的宽度为:width+margin+padding+border, 如果设置为border-box那么元素的宽度为:width+border+padding, content-bo 阅读全文
posted @ 2020-07-15 20:15 放学别跑啊 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 清除前 清除后 代码 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> .contianer{ width: 600px; height: 200px; } .a{ width: 50px; he 阅读全文
posted @ 2020-07-15 20:08 放学别跑啊 阅读(128) 评论(0) 推荐(0) 编辑
摘要: const Compare ={ LESS_THAN:-1, BIGGER_THAN:1, EQUALS:0 } const BalancedFactor = { UNBALANCED_LEFT:1, SLIGHTLY_UNBALANCED_LEFT:2, BALANCED:3, UNBALANCE 阅读全文
posted @ 2020-07-15 16:00 放学别跑啊 阅读(407) 评论(0) 推荐(0) 编辑