0.0
No commit activity in last 3 years
No release in over 3 years
a compass extension for resetting mobile specific styles
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.11
 Project Readme

mobile_reset

A compass extension for resetting mobile specific styles. An extension of the Meyer CSS Reset applied to modern mobile browsers, particularly Mobile Safari.

Usage

From the command line:

(sudo) gem install mobile_reset

Or, from your project's Gemfile:

gem 'mobile_reset', '~> 0.1.1'

At the top of your main SCSS file, add the following:

@import 'mobile_reset';

In your compass config file:

require 'mobile_reset'

From the command line:

compass install mobile_reset

If you're using jQuery, you can add the following to automatically disable the long tap touch callout dialog in mobile safari on all links with href='#':

$(window).load(function() {
  $('a[href="#"]').addClass('no-touch-callout');
}