HYUIT'S STORY

미디어쿼리 본문

STUDY/html + css

미디어쿼리

HYUIT 2018. 5. 9. 14:56
[code]
<style type="text/css">
@media screen and (max-width: 767px) {
    /* Mobile */
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Tablet */
}
@media screen and (min-width: 1024px) {
    /* PC */
}
</style>
[/code]


'STUDY > html + css' 카테고리의 다른 글

css  (0) 2018.05.15
가운데 점찍기  (0) 2018.05.11
margin-top사용 시,  (0) 2018.02.23
iframe  (0) 2018.02.22
블록요소 인라인요소  (0) 2018.02.22