横屏与竖屏
@media screen and (min-device- 768px) {
/* 竖屏CSS */
@media (orientation: portrait ){
.book-rand-author{
margin-top:0.45em;
}
}
/* 横屏CSS */
@media ( orientation: landscape ){
.book-rand-author{
margin-top:0.36em;
}
}
}
横屏与竖屏
@media screen and (min-device- 768px) {
/* 竖屏CSS */
@media (orientation: portrait ){
.book-rand-author{
margin-top:0.45em;
}
}
/* 横屏CSS */
@media ( orientation: landscape ){
.book-rand-author{
margin-top:0.36em;
}
}
}