Notice
Recent Posts
Recent Comments
Link
- Arawn's Dev Blog
- Outsider's Dev Story
- Toby's Epril
- Benelog
- NHN 개발자 블로그
- SK 플래닛 기술 블로그
- OLC CENTER
- 소프트웨어 경영/공학 블로그
- 모바일 컨버전스
- KOSR - Korea Operating System …
- 넥스트리 블로그
- 리버스코어 ReverseCore
- SLiPP
- 개발자를 위하여... (Nextree 임병인 수석)
- "트위터 부트스트랩: 디자이너도 놀라워할 매끈하고 직관…
- Learning English - The English…
- real-english.com
- 'DataScience/Deep Learning' 카테…
- Deep Learning Summer School, M…
- Deep Learning Courses
민서네집
웹페이지 상단 이미지 - 웹브라우저 폭에 따라 단계적으로 변하도록 하는법 본문
.c-main-page .c-submenu-header-image > img {
width: auto;
}
.c-submenu-header-image {
position: relative;
overflow: hidden;
}
@media only screen and (max-width: 767px)
.c-main-page .c-submenu-header-image img {
min-width: 1024px;
margin-left: -512px;
left: 50%;
}
☞ 이미지의 원래 높이는 유지됨.
☞ 이미지의 가로길이는 1024px 일때 위와 같이 함.
'WEB (HTML, CSS)' 카테고리의 다른 글
Bootstrap Theme 바꾸기 (0) | 2016.02.27 |
---|---|
AMCHARTS - Javascript Chart (0) | 2016.02.27 |
ICON 모아놓은 사이트 (0) | 2015.11.17 |
IgniteUI - Utilize the power of jQuery/HTML5, prototype tool 제공 (0) | 2015.11.16 |
Responsive Layout HTML5 Template (0) | 2015.09.18 |
Comments