This file contains hidden or 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
| <div> | |
| I am Horizontal and Vertical centered only by CSS! | |
| </div> | |
This file contains hidden or 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
| // ---- | |
| // Sass (v3.3.0.rc.2) | |
| // Compass (v1.0.0.alpha.17) | |
| // ---- | |
| // Ever wanted to know what would be the color operations to apply to a color | |
| // in order to find a second color, just out of curiosity? | |
| // Like, "how to programmatically go from #BADA55 to #B0BCA7"? | |
| // -------------------------------------------------------------------------------- | |
| // @param (color) $a: first color |
This file contains hidden or 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
| .translate3d.opacity .my-selector { | |
| opacity: 0; | |
| transform: translateY(100%); | |
| } | |
| .no-js .my-selector, .no-translate3d .my-selector, .no-opacity .my-selector { | |
| position: relative; | |
| top: 100%; | |
| display: none; | |
| } |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?