Last active
April 25, 2016 01:54
-
-
Save davidgilbertson/faaeeb2f359604e846a8236a9b61f314 to your computer and use it in GitHub Desktop.
Styles example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import CSS from '../../utils/css.js'; | |
export default { | |
main: { | |
position: 'absolute', | |
width: 1366, | |
height: 768, | |
top: 60, | |
left: '50%', | |
transform: 'translateX(-50%)', | |
backgroundColor: CSS.COLORS.WHITE, | |
backgroundImage: 'url(/images/grid-dot_10x10.gif)', | |
...CSS.shadow('large'), | |
}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import styles from './Screen-styles.js'; | |
export default () => ( | |
<div style={styles.main}></div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment