Skip to content

Al Binns' Web Stuff

to inifinity and beyond

Tag Archives: pixels

LessCSS unitless mixins

When doing development and you need to dimensions to a block element in CSS its pretty tedious to write: .block { width: 200px; height: 200px; } I use LessCSS as my css pre-processor so wrote a handy little mixin to shorten this: .size(@w, @h) { width: @w; height: @h; } Then to use it in […]

Posted byAlJuly 24, 2013March 22, 2017Posted inDevelopmentTags: css, interpolation, less, lesscss, mixins, pixels, unitsLeave a comment on LessCSS unitless mixins

Freelance Development Services

For digital development services please visit AB Development.co.uk

Recent Posts

  • Creating Favicons
  • LessCSS unitless mixins
  • Local Domain Without Hosts File on OSX
  • Remembering Nana Kath
  • LessCSS, Import and Media Queries

Categories

  • Development (25)
  • General (30)
  • New Business (6)
  • Personal (9)
  • Sport (1)
  • Sys Admin (1)
  • Theme (12)

Archives

  • 2013 (6)
    • September (1)
    • July (2)
    • March (1)
    • February (2)
  • 2012 (9)
  • 2011 (21)
  • 2010 (28)

General Links

  • AB Development
  • Neil Crookes
  • Rumbles Roundup
  • Sam Osborne SEO

Me On The Web

  • Delicious
  • Digg
  • Facebook
  • Friend Feed
  • Linked In
  • Twitter
Al Binns' Web Stuff, Proudly powered by WordPress.