편집 요약 없음 |
편집 요약 없음 |
||
6번째 줄: | 6번째 줄: | ||
|+예시 | |+예시 | ||
|- | |- | ||
|모바일에서 빨간 박스, PC에서 파란 박스<pre style="white-space: pre-wrap;">{{반응형 style|.example-class|common=display: inline-block; width: 50px; height: 50px;|mobile=background: red;|pc=background: blue;}}<div class="example-class"></div></pre> | |모바일에서 빨간 박스, PC에서 파란 박스<pre style="white-space: pre-wrap;">{{반응형 style|.example-class | ||
|common=display: inline-block; width: 50px; height: 50px; | |||
|mobile=background: red; | |||
|pc=background: blue;}}<div class="example-class"></div></pre> | |||
|{{반응형 style|.example-class|common=display: inline-block; width: 50px; height: 50px;|mobile=background: red;|pc=background: blue;}}<div class="example-class"></div> | |{{반응형 style|.example-class|common=display: inline-block; width: 50px; height: 50px;|mobile=background: red;|pc=background: blue;}}<div class="example-class"></div> | ||
|} | |} | ||
{{김찬 제작 틀}} | {{김찬 제작 틀}} |
2024년 7월 8일 (월) 22:01 판
틀:반응형 style | |
---|---|
사용문서
|
|
넘겨주기
|
이동하기
|
{{반응형 style|요소|mobile=모바일 style|pc=PC style|common=공통 style(선택)}}
모바일에서 빨간 박스, PC에서 파란 박스{{반응형 style|.example-class |common=display: inline-block; width: 50px; height: 50px; |mobile=background: red; |pc=background: blue;}}<div class="example-class"></div> |