メディアクエリの書き方(旧iPad対応ver)

メモ。

@media screen and (max-width: 767px) {
 //SP
}

@media screen and (min-width: 768px) {
 //PC
}

@media (max-width: 1020px) and (min-width: 768px) {
 //tablet
}