Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bobvanluijt/rem-to-px


https://github.com/bobvanluijt/rem-to-px

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

#Rem to Px

With this code, you can update any stylesheet that is based on REMs to be used in < IE9

Background: one of my clients wants to use Foundation 5.x but also on IE8. By extending the REMs to pixels, the problem was solved from a CSS pov.

## Table of contents
- [Usage](#Usage)
- [Info](#Info)
- [Credits](#Credits)

## Usage
You can use it in 2 ways:

1) Download the .zip and install it on your server

2) Directly send your CSS file to my server and have it rendered: http://kubrickolo.gy/rem_and_px

Example:

http://kubrickolo.gy/rem_and_px/?u=https://someurl.com/style.css

If you want to you can add the param `uval` this will skip the search for the font-size value used to determine REM

Example 1:

http://kubrickolo.gy/rem_and_px/?u=https://someurl.com/style.css

Example 2:

http://kubrickolo.gy/rem_and_px/?u=https://someurl.com/style.css&uval=20%

Example 3:

http://kubrickolo.gy/rem_and_px/?u=https://someurl.com/style.css&uval=20px

## Info
Use it directly on: http://kubrickolo.gy/

Contact: [email protected]

## Credits
Created by: Bob van Luijt (Kubrickology)

Twitter: (https://twitter.com/bobvanluijt)