• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 HTML/CSS 게시판 랜딩 페이지 애니메이션

랜딩 페이지 애니메이션

2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 글쓴이
  • #119388

    김지수
    참가자
    그림 하나에만 애니메이션 효과를 넣고 싶은데 어디를 수정해야 할 지 모르겠습니다.
    
    <section class="container">
    <h4 style="font-size: 25px; margin-bottom: 50px;"> What we can DO</h4>
    <div style="max-width: 1200px; margin: 50px; display: flex; flex-wrap: wrap;">
    <div class="overlay"></div>
    <div class="portfolio-item1">
    <div class="portfolio-text">
    <h4>Stationary</h4>
    <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit!</p>
    </div>
    </div>
    <div class="portfolio-item1">
    <div class="portfolio-text">
    <h4>Stationary</h4>
    <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit!</p>
    </div>
    </div>
    <div class="portfolio-item1">
    <div class="portfolio-text">
    <h4>Stationary</h4>
    <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit!</p>
    </div>
    </div>
    <div class="portfolio-item1">
    <div class="portfolio-text">
    <h4>Stationary</h4>
    <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit!</p>
    </div>
    </div>
    </div>
     
    </section>
    ------------css-----------------
    
    .container {
    padding-top: 60px; padding-bottom: 60px; text-align: center; position: relative;
    }
    .portfolio-item1 {
    background-image: url(/portfolio-1.jpg); 
    width: 50%; height: 350px;
    text-align: left;
    background-size: cover;
    }
    .portfolio-text {
    color: white;
    padding: 50px;
    width: 100%;
    }
    .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    border: 0px solid white;
    }
    .overlay:hover {
    border: 30px solid white;
    }
    
    #119399

    codingapple
    키 마스터
    그림 하나에만 다른 클래스명 작명해서 거기다가 애니메이션 넣어봅시다
2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠