sasset:using_the_content_container
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | sasset:using_the_content_container [2016/04/02 13:48] (current) – created leo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |<- [[Creating list elements]]|[[Conditional @if statements and argument lists]] ->| | ||
| + | Il est possible, dans les mixins, d' | ||
| + | |||
| + | < | ||
| + | @mixin break($length) { | ||
| + | @media (min-width: $length) { | ||
| + | @content; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | .branding { | ||
| + | float: left; | ||
| + | display: none; | ||
| + | @include break(1000px){ | ||
| + | display: block; | ||
| + | }; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Donne : | ||
| + | |||
| + | < | ||
| + | .branding { | ||
| + | float: left; | ||
| + | display: none; | ||
| + | } | ||
| + | @media (min-width: 1000px) { | ||
| + | .branding { | ||
| + | display: block; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
sasset/using_the_content_container.txt · Last modified: 2016/04/02 13:48 by leo