Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章更新 [ 2016-08-03 ] #124

Open
yutingzhao1991 opened this issue Aug 4, 2016 · 0 comments
Open

文章更新 [ 2016-08-03 ] #124

yutingzhao1991 opened this issue Aug 4, 2016 · 0 comments
Labels

Comments

@yutingzhao1991
Copy link
Owner

  • css3 calc计算的拾遗 (mishe)

    calc()从字面我们可以把他理解为一个函数function。其实calc是英文单词calculate(计算)的缩写,是css3的一个新增的功能,用来指定元素的长度。比如说,你可以使用calc()给元素的border、margin、pading、font-size和width等属性设置动态值。为何说是动态值呢?因为我们使用的表达式来得到的值。不过calc()最大的好处就是用在流体布局上,可以通过calc()计算得到元素的宽度。...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant