Skip to content

Releases: Jakobud/poly-fluid-sizing

v1.2.1

11 Nov 23:22
Compare
Choose a tag to compare
Bumped version

v1.2.0: Merge pull request #8 from Jakobud/develop

04 Nov 22:30
d0d392c
Compare
Choose a tag to compare
  • Replaced the deprecated division math symbol (/) with math.div
  • Added ability to specify multiple property values similar to how vanilla CSS is written
// Before
@include poly-fluid-sizing('padding-top', (768px: 30px, 1024px: 40px));
@include poly-fluid-sizing('padding-right', (768px: 20px, 1024px: 30px));
@include poly-fluid-sizing('padding-bottom', (768px: 20px, 1024px: 40px));
@include poly-fluid-sizing('padding-left', (768px: 10px, 1024px: 30px));

// Now
@include poly-fluid-sizing('padding', (768px: 30px 20px 20px 10px, 1024px: 40px 30px 40px 30px));