Profile

Cover photo
Ian Oliver
Works at Ian Oliver Ltd
Attended Alec Hunter High School
Lives in Chelmsford, Essex, England
135 followers|82,734 views
AboutPostsReviews

Stream

Ian Oliver

Shared publicly  - 
 
 
Damn, the calculations involved must have been insane.
17 comments on original post
1
Add a comment...
 
Stunning time-lapse short film from Yosemite Park, shot over 45 days across 10 months: http://vimeo.com/87701971

I'm a sucker for this stuff.

More at http://www.projectyose.com/
1
Add a comment...

Ian Oliver

Shared publicly  - 
 
"People should not be afraid of their governments. Governments should be afraid of their people."
1
Add a comment...

Ian Oliver

Shared publicly  - 
1
Add a comment...

Ian Oliver

Shared publicly  - 
 
Want to use rem font sizing with Sass but include a fallback for old browsers too? Use this:

$base-font-size: 15px

=font-size-rem($rem)
        font-size: floor($base-font-size * $rem)
        font-size: #{$rem}rem

For the fallback, the mixin multiplies your base font-size by the variable font-size you include, rounds it down to the closest whole number and leaves it as a pixel value. Meanwhile, modern browsers will use the new rem hotness.

If your base font size changes with each screen size breakpoint, just override $base-font-size once at the top each time, easy. Everything applies automagically.

The same can be done for padding/margin/width/height etc. with mixins like this:

=padding-rem($rem)
        padding: floor($base-font-size * $rem)
        padding: #{$rem}rem

=margin-right-rem($rem)
        margin-right: floor($base-font-size * $rem)
        margin-right: #{$rem}rem

#rem   #sass   #css  
1
Add a comment...
In his circles
134 people
Have him in circles
135 people
Dave Cryer's profile photo
meriem errifaiy's profile photo
Eoin Thomas Marshall's profile photo
iPhone Watches's profile photo
Natanael Gama's profile photo
Space & Time Design's profile photo
Joe Stone's profile photo
Maria Clark's profile photo
Harvey Santia's profile photo

Ian Oliver

Shared publicly  - 
 
 
Love love love this +OK Go video

Wow .... take a few mins and watch this. 
#YouMustListenToThis  
5 comments on original post
1
Add a comment...

Ian Oliver

Shared publicly  - 
 
Goddamn right!
 
Guess that settles that.
32 comments on original post
1
Add a comment...

Ian Oliver

Shared publicly  - 
 
Thanks to Sass source maps, Autoprefixer, LiveReload, Chrome’s Web Developer Tools and Grunt.js tying it all together, I think I’ve now achieved today’s holy grail of front-end web development:

1. Save a Sass file/partial
2. It gets compiled to CSS (plus accompanying source map)
3. Autoprefixer sifts through the output’ CSS and inserts only the relevant prefixes to fit my browser support preferences
4. This breaks the Sass source maps, but Autoprefixer updates the maps to match the new CSS
5. Grunt uploads any changed files to the site
6. LiveReload tells the browser to reload the CSS
7. Chrome reloads (just the) CSS and re-renders the page

That’s awesome alone, but it goes further:

Chrome can understand the CSS source maps and tell me the relevant Sass file and line number in the Web Inspector.

After a bit of local file mapping (see https://developers.google.com/chrome-developer-tools/docs/css-preprocessors) the Sass file name can be clicked, opening the relevant file inside Developer Tools. Here, your actual original Sass can be modified and saved, re-triggering the Grunt tasks from the top, ending with updated CSS a few seconds later.

It can take a bit of time to get everything setup, but it’s so worth it. It’ll leave you with a much speedier process and less brain cycles used up by tedious tasks. And this setup was in Windows!.

Related links:

Getting started with CSS sourcemaps and in-browser Sass editing
https://medium.com/what-i-learned-building/b4daab987fb0

Grunt for People Who Think Things Like Grunt are Weird and Hard
http://24ways.org/2013/grunt-is-not-weird-and-hard/

Faster Sass debugging and style iteration with source maps, Chrome Web Developer Tools and Grunt
http://benfrain.com/add-sass-compass-debug-info-for-chrome-web-developer-tools/
Update 5th July 2013: this is the third re-write of this post since first posting it back in November 2012. I'll keep trying to update as and when things change as there's every chance you are visiting this from a link in the book 'Sass and Compass for Designers'.
2
David Oliver's profile photo
 
Nice. I'm yet to try Grunt or similar task do'ers, but plan to at some point.
Add a comment...

Ian Oliver

Shared publicly  - 
 
 
Here's a cool visualization of Internet usage around the world over a day.
73 comments on original post
1
Add a comment...

Ian Oliver

Shared publicly  - 
 
Sharing my Sass mixins for Flexbox. They're a mix of old a new syntaxes for maximum compatibility and have intelligent properties/values for the old syntaxes.

#sass   #flexbox   #css  
Edit this Pen Report Abuse. 3.0 (iPhone 3GS), 4.3.2 (iPad 2), 5.1 (iPhone 4S), 6 (iPhone 5), 2.3 (Galaxy S), 4.0 (Evo 3D), 4.1 (Nexus 7), HTC Wildfire, 6 (Win XP), 7 (Win XP), 8 (Win 7), 9 (Win 7), 10 (Win 8), 5 (Mac 10.6), 19 (Mac 10.8), 11.1 (Mac 10.6), 12.13 (Mac 10.8), 4 (Mac 10.6) ...
1
Add a comment...
People
In his circles
134 people
Have him in circles
135 people
Dave Cryer's profile photo
meriem errifaiy's profile photo
Eoin Thomas Marshall's profile photo
iPhone Watches's profile photo
Natanael Gama's profile photo
Space & Time Design's profile photo
Joe Stone's profile photo
Maria Clark's profile photo
Harvey Santia's profile photo
Work
Occupation
Front-end Web Development & Graphic Design
Employment
  • Ian Oliver Ltd
    Front-end Web Developer & Graphic Designer, 2012 - present
  • Ian Oliver Web & Graphic Design
    Freelance Front-end Web Developer & Graphic Designer, 2009 - 2012
  • Dovercourt Ford / Lookers plc
    Graphic Designer, Web Designer, 2005 - 2009
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Chelmsford, Essex, England
Previously
Braintree, Essex, England
Story
Introduction
Front-end web developer, graphic designer, web standards advocate, tech geek, PC gamer, netizen
Bragging rights
I see HTML like Neo sees the Matrix. Once watched all three Lord of the Rings films (extended versions) in one day.
Education
  • Alec Hunter High School
    1999 - 2003
  • Colchester Institute
    Graphic Design, 2004 - 2005
Basic Information
Gender
Male
Relationship
Single
Paul and the team at Abacus have been most helpful over the years. After starting out on my own, they've given me good advice and taken care of everything I've needed them to do (i.e. anything to do with the accounting side of things), leaving me to concentrate on my own work.
Public - 9 months ago
reviewed 9 months ago
I've been a patient at Chelmer Village Opticians for several years and have always been impressed by the friendliness and professionalism of Vik and the team. I'm an Ortho-K subscription customer (overnight sight correction), and have been for nearly four years now. I've always had a great level of support with everything I need taken care of and supplied, and regular appointments arranged. A highly recommended Opticians and service!
Public - a year ago
reviewed a year ago
3 reviews
Map
Map
Map
Had an evening meal here with the family. Lovely place with very nice food. The staff are very helpful and pleasant. Recommended.
Atmosphere: ExcellentDecor: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago