COMING SOON 🚀

폴라로이드 이미지 / 카드

· 8년 전 · 2323

폴라로이드 이미지 / 카드


91308e91ff090fb4abed793c1e3856ce_1504169100_9184.png
 


div.polaroid {

    width: 80%;

    background-color: white;

    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}


img {width: 100%}


div.container {

    text-align: center;

    padding: 10px 20px;

}


[전체소스]

<!DOCTYPE html>

<html>

<head>

<style>

body {margin:25px;}


div.polaroid {

  width: 80%;

  background-color: white;

  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  margin-bottom: 25px;

}


div.container {

  text-align: center;

  padding: 10px 20px;

}

</style>

</head>

<body>


<h2>Responsive Polaroid Images / Cards</h2>


<div class="polaroid">

  <img src="rock600x400.jpg" alt="Norway" style="width:100%">

  <div class="container">

    <p>The Troll's tongue in Hardanger, Norway</p>

  </div>

</div>


<div class="polaroid">

  <img src="lights600x400.jpg" alt="Norway" style="width:100%">

  <div class="container">

    <p>Northern Lights in Norway</p>

  </div>

</div>


</body>

</html>


|
댓글을 작성하시려면 로그인이 필요합니다.

퍼블리셔팁

퍼블리싱과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
CSS 8년 전 조회 1,869
CSS 8년 전 조회 1,724
CSS 8년 전 조회 2,085
CSS 8년 전 조회 1,676
CSS 8년 전 조회 1,792
CSS 8년 전 조회 1,881
CSS 8년 전 조회 1,894
CSS 8년 전 조회 1,700
CSS 8년 전 조회 4,394
CSS 8년 전 조회 2,312
CSS 8년 전 조회 2,712
CSS 8년 전 조회 2,239
CSS 8년 전 조회 2,177
CSS 8년 전 조회 2,050
CSS 8년 전 조회 2,324
CSS 8년 전 조회 2,086
CSS 8년 전 조회 2,225
CSS 8년 전 조회 2,621
CSS 8년 전 조회 1,942
CSS 8년 전 조회 2,544
CSS 8년 전 조회 1,972
CSS 8년 전 조회 1,761
CSS 8년 전 조회 1,450
CSS 8년 전 조회 1,779
CSS 8년 전 조회 2,543
CSS 8년 전 조회 2,217
CSS 8년 전 조회 1,905
CSS 8년 전 조회 1,934
CSS 8년 전 조회 1,710
CSS 8년 전 조회 2,031