Files
less.js/test/css/media.css
Marcel Jackwerth 378ddef61f fixed double-space
2012-02-15 17:17:48 +01:00

36 lines
458 B
CSS

@media print {
.class {
color: blue;
}
.class .sub {
width: 42;
}
.top,
header > h1 {
color: #444444;
}
}
@media screen {
body {
max-width: 480;
}
}
@media all and (orientation: portrait) {
aside {
float: none;
}
}
@media handheld and (min-width: 42), screen and (min-width: 20em) {
body {
max-width: 480px;
}
}
@media print {
body {
padding: 20px;
}
body header {
background-color: red;
}
}