前端知识点CSS#1 什么是盒模型?
盒子模型(Box Model),Box Model自内向外,由content,padding,border,margin构成。页面中的每一个元素都可以看做一个矩形的盒子(包括内联元素)
符合W3C标准的浏览器认为一个元素的宽度只等于content的宽度(content的宽度就是css的width属性),用公式表示就是:
width = contentW
...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick
...