Skip to content

Added function converting px to em#143

Merged
stubbornella merged 1 commit intostubbornella:oocss-sassfrom
mobywhale-chan:pxToEm
Dec 5, 2012
Merged

Added function converting px to em#143
stubbornella merged 1 commit intostubbornella:oocss-sassfrom
mobywhale-chan:pxToEm

Conversation

@mobywhale-chan
Copy link
Collaborator

I've added a function in utils for converting px to em. I'm not sure if that's the right place to put it as I worry people might get confused that it is a mixin when they see @import pxToEm in the screen.scss. Maybe we can put it in another folder? Or name it differently?

Example of how to use it:

.box {
   padding: pxToEm(10, 14);
}

@ghost ghost assigned stubbornella Nov 27, 2012
@mobywhale-chan
Copy link
Collaborator Author

@stubbornella Can you review this px to em pull request please? :)

stubbornella added a commit that referenced this pull request Dec 5, 2012
Added function converting px to em
@stubbornella stubbornella merged commit 5acad9b into stubbornella:oocss-sass Dec 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants