PDA

View Full Version : Calc() is a magic css thing!



george.weballey
02-21-2015, 04:15 PM
I wanted to share this great article!

http://webdesign.tutsplus.com/tutorials/calc-grids-are-the-best-grids--cms-22902

It's about calc() property in css!

avvntech
02-24-2015, 04:26 AM
calc() is a native CSS way to do simple math right in CSS as a replacement for any length value (or pretty much any number value). It has four simple math operators: add (+), subtract (-), multiply (*), and divide (/). Being able to do math in code is nice and a welcome addition to a language that is fairly number heavy.