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

home2 게시판 Vue 게시판 trasition 안먹는데 이유가 뭔지 모르겠습니다

trasition 안먹는데 이유가 뭔지 모르겠습니다

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

    남도일
    참가자
    <template>
    <div id="app">
    <!-- <div class="start" :class="{ end : 모달창열렸니 }"> -->
    <transition name="fade">
    <Modal @closeModal="모달창열렸니 = false;"
     :원룸들="원룸들" :누른거="누른거"
     :모달창열렸니="모달창열렸니" />
    </transition>
    
    <style>
    #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    }
    .menu {
    background: darkslateblue;
    padding: 15px;
    border-radius: 5px;
    }
    .menu a {
    color: white;
    padding: 10px;
    }
    .room-img {
    width: 100%;
    margin-top: 40px;
    }
    .body{
    margin: 0;
    }
    div {
    box-sizing: border-box;
    }
    .black-bg{
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0,5);
    position: fixed; padding: 20px;
    }
    .white-bg{
    width: 100%; background: white;
    border-radius: 8px;
    padding: 20px;
    }
    .discount{
    background: gray;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    }
    /* .start {
     opacity: 0;
     transition: all 1s;
    }
    .end {
     opacity: 1;
    } */
    .fade-enter-from {
    opacity: 0;
    }
    .fade-enter-active {
    transition: all 1s;
    }
    .fade-enter-to {
    opacity: 1;
    }
    </style>
    
    
    		
    	
    #44465

    codingapple
    키 마스터
    <Transition 대문자로 써봅시다
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 호 / 개인정보관리자 : 박종흠