문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
|
html:소스_창고 [2020/08/12 15:37] clayeryan@gmail.com ↷ 문서가 playground:playground에서 html:playground(으)로 이동되었습니다 |
html:소스_창고 [2025/06/27 16:00] (현재) |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| - | ====== | + | ===== CSS 메뉴 꾸미기 |
| + | |||
| + | ==== 참고 자료 링크 ==== | ||
| + | |||
| + | [[ https:// | ||
| + | |||
| + | ==== HTML 소스 창고 ==== | ||
| + | |||
| + | -포워딩 페이지로 자동 이동 | ||
| + | |||
| + | <code html> | ||
| + | <? | ||
| + | header(" | ||
| + | ?> | ||
| + | </ | ||
| + | |||
| + | ==== 버튼식 메뉴 감추기 ==== | ||
| + | |||
| + | <code java> | ||
| + | <script language=" | ||
| + | // view_list_layer : 확장버튼 누를경우 레이어 보여주기 | ||
| + | | ||
| + | var _viewMode = ''; | ||
| + | eval(obj).style.display == ' | ||
| + | eval(obj).style.display = _viewMode ; | ||
| + | } | ||
| + | | ||
| + | eval(obj).style.display = " | ||
| + | | ||
| + | </ | ||
| + | |||
| + | |||
| + | <table width=" | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | <div id=' | ||
| + | < | ||
| + | |||
| + | <table width=134 border=0 cellspacing=5 cellpadding=0 | ||
| + | |||
| + | < | ||
| + | < | ||
| + | <td onmouseover=" | ||
| + | <a href="/ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 반응형 웹페이지 폰트사이즈 ==== | ||
| + | |||
| + | * HTML - head - style | ||
| + | |||
| + | < | ||
| + | <meta name=" | ||
| + | < | ||
| + | /* 801px ~ */ | ||
| + | * { color: black; } | ||
| + | |||
| + | /* ~ 800px */ | ||
| + | @media screen and (max-width: 800px) { | ||
| + | * { font-size: 72.5%;} | ||
| + | } | ||
| + | |||
| + | /* ~ 480px */ | ||
| + | @media screen and (max-width: 480px) { | ||
| + | * { font-size: 2.8vw; } | ||
| + | } | ||
| + | < | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== 기기별 가로폭 사이즈 ==== | ||
| + | |||
| + | <code java> | ||
| + | /* 스마트폰 가로+세로 */ | ||
| + | @media only screen and (min-device-width : 320px) and (max-device-width : 480px){ | ||
| + | } | ||
| + | /* 스마트폰 가로 */ | ||
| + | @media only screen and (min-width : 321px) { | ||
| + | } | ||
| + | /* 스마트폰 세로 */ | ||
| + | @media only screen and (max-width : 320px) { | ||
| + | } | ||
| + | /* iPhone4와 같은 높은 해상도 세로 */ | ||
| + | @media | ||
| + | only screen and (-webkit-min-device-pixel-ratio : 1.5), | ||
| + | only screen and (min-device-pixel-ratio : 1.5) { | ||
| + | } | ||
| + | /* iPhone4와 같은 높은 해상도 가로 */ | ||
| + | @media only screen and (min-width : 640px) { | ||
| + | } | ||
| + | /* iPad 가로+세로 */ | ||
| + | @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { | ||
| + | } | ||
| + | /* iPad 가로 */ | ||
| + | @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { | ||
| + | } | ||
| + | /* iPad 세로 */ | ||
| + | @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { | ||
| + | } | ||
| + | /* 데스크탑 브라우저 가로 */ | ||
| + | |||
| + | @media only screen and (min-width : 1224px) { | ||
| + | |||
| + | } | ||
| + | /* 큰 모니터 */ | ||
| + | @media only screen and (min-width : 1824px) { | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <hi # | ||
| + | http:// | ||
| + | |||
| - | http:// | ||
| - | 사이드바 메뉴 편집 | ||
별도로 명시하지 않을 경우, 이 위키의 내용은 다음 라이선스에 따라 사용할 수 있습니다: CC Attribution-Share Alike 4.0 International