목차

CSS Iamge Gallery

  • description : CSS Iamge Gallery
  • author : 오션
  • email : shlim@repia.com
  • lastupdate : 2021-03-31


CSS로 이미지 갤러리를 만들 수 있습니다.

하기의 이미지 갤러리를 CSS로 만들었습니다.

예제


Result



More Examples

데스크탑, 태블릿, 그리고 스마트폰에서 잘 보이는 반응형 이미지 갤러리를 만드는 CSS 미디어 쿼리(media queries)를 사용하는 방법

예제

Responsive Image Gallery

Resize the browser window to see the effect

This example use media queries to re-arrange the images on different screen sizes: for screens largers than 700px wide, it will show four images side by side, for screens smaller than 700px, it will show two images side by side. For screens smaller than 500px, the images will stack vertically (100%).

You will learn more about media queries and responsive web design later in our CSS Tutorial.


Result