조회 수 67 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

- 반응형 그리드

- 갤러리 이벤트 / 이팩트

  • ?
    콘디쌤 2017.04.24 09:40
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>설화수 | 아모레퍼시픽</title>
    <link href="css/common.css" rel="stylesheet" type="text/css">
    <link href="css/header.css" rel="stylesheet" type="text/css">
    <link href="css/visual.css" rel="stylesheet" type="text/css">
    <link href="css/brand.css" rel="stylesheet" type="text/css">
    <link href="css/ingredients.css" rel="stylesheet" type="text/css">
    <link href="css/technologies.css" rel="stylesheet" type="text/css">
    <link href="css/instagram.css" rel="stylesheet" type="text/css">
    <link href="css/footer.css" rel="stylesheet" type="text/css">
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script src="js/main.js"></script>
    
    </head>
    
    <body>
    
    	<header>
        	<div class="logo"></div>
            <div class="util">
            	<div class="lang">KR</div>
            	<div class="lang">EN</div>
            	<div class="lang">CN</div>
                
            	<div class="search"></div>
            	<div class="news">NEWS</div>
            </div>
            <nav>
            	<div class="gnb">
                	<div class="text">GNB1</div>
                	<div class="draw">GNB1</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB2</div>
                	<div class="draw">GNB2</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB3</div>
                	<div class="draw">GNB3</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB4</div>
                	<div class="draw">GNB4</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB5</div>
                	<div class="draw">GNB5</div>
                </div>    
            </nav>
        </header>
        
        <div class="content">
            <section class="visual">
            	<div class="bg"></div>
                <div class="title"></div>
                <div class="cover">
                	<div>아시아의 지혜를 담은 Holistic Beauty, 설화수
    Holistic and harmonious skincare inspired by traditional Asian 
    wisdom, cultivating balanced beauty both inside and out</div>
                </div>
            </section>
            <section class="brand">brand</section>
            <section class="ingredients">ingredients</section>
            <section class="technologies">technologies</section>
            <section class="instagram">
            	<div class="title">Instagram</div>
                <div class="item-wrap">
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                </div>
                
            </section>
        </div>
        
        <footer></footer>
        
    </body>
    </html>
    
     
    @charset "utf-8";
    /* CSS Document */
    
    section.instagram {
    	height: 100vh;
    	background-color: #eee;
    }
    
    section.instagram .title {
    	font-size: 30px;
    	position: absolute;
    	top: 60px;
    	left: 50%;
    	transform: translateX(-50%);
    }
    section.instagram .item-wrap {
    	position: absolute;
    	top: 180px;
    	left: 0; right: 0;
    }
    section.instagram .item {
    	float: left;
    	width: 20%;
    	padding-top: 20%;
    	overflow: hidden;
    	cursor: pointer;
    }
    section.instagram .item .image {
    	position: absolute;
    	top: 0; left: 0; right: 0; bottom: 0;
    	background-size: cover;
    	background-position: center center;
    	transition: transform 1s;
    }
    section.instagram .item:hover .image {
    	transform: scale(1.1);
    }
    
    section.instagram .item:nth-child(2n+1) {
    	background-color: rgba(0, 0, 0, 0.1);
    }
    
    section.instagram .item:nth-child(1) .image {
    	background-image:url(https://scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/13744152_171050323315945_815848365_n.jpg);
    }
    
    
    
    
    
    
    
    
    


  • ?
    콘디쌤 2017.04.24 11:46
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>설화수 | 아모레퍼시픽</title>
    <link href="css/common.css" rel="stylesheet" type="text/css">
    <link href="css/header.css" rel="stylesheet" type="text/css">
    <link href="css/visual.css" rel="stylesheet" type="text/css">
    <link href="css/brand.css" rel="stylesheet" type="text/css">
    <link href="css/ingredients.css" rel="stylesheet" type="text/css">
    <link href="css/technologies.css" rel="stylesheet" type="text/css">
    <link href="css/instagram.css" rel="stylesheet" type="text/css">
    <link href="css/footer.css" rel="stylesheet" type="text/css">
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script src="js/main.js"></script>
    
    </head>
    
    <body>
    
    	<header>
        	<div class="logo"></div>
            <div class="util">
            	<div class="lang">KR</div>
            	<div class="lang">EN</div>
            	<div class="lang">CN</div>
                
            	<div class="search"></div>
            	<div class="news">NEWS</div>
            </div>
            <nav>
            	<div class="gnb">
                	<div class="text">GNB1</div>
                	<div class="draw">GNB1</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB2</div>
                	<div class="draw">GNB2</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB3</div>
                	<div class="draw">GNB3</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB4</div>
                	<div class="draw">GNB4</div>
                </div>    
            	<div class="gnb">
                	<div class="text">GNB5</div>
                	<div class="draw">GNB5</div>
                </div>    
            </nav>
        </header>
        
        <div class="content">
            <section class="visual">
            	<div class="bg"></div>
                <div class="title"></div>
                <div class="cover">
                	<div>아시아의 지혜를 담은 Holistic Beauty, 설화수
    Holistic and harmonious skincare inspired by traditional Asian 
    wisdom, cultivating balanced beauty both inside and out</div>
                </div>
            </section>
            <section class="brand">brand</section>
            
            <section class="ingredients">
            <div class="title">Ingredients</div>
                    <div class="layout-inner">
                    
                    	<div class="slider">
                        	<div class="inner">
                            	<div class="slide">자음생</div>
                            	<div class="slide">인삼</div>
                            </div>
                        </div>
                        
                        <div class="prev">PREV</div>
                        <div class="next">NEXT</div>
                    </div>
            </section>
            
            <section class="technologies">
           	 		<div class="title">Technologies</div>
                    
                    <div class="layout-inner">
                    
                    	<div class="slider">
                        	<div class="inner">
                            	<div class="slide">바이오컨버전 기술</div>
                            	<div class="slide">진세니스피어</div>
                            </div>
                        </div>
                        
                        <div class="prev">PREV</div>
                        <div class="next">NEXT</div>
                    
                    </div>
                    
             </section>
            
            
            <section class="instagram">
            	<div class="title">Instagram</div>
                <div class="item-wrap">
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text">#HolisticBeauty from #AsianWisdom</div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                	<div class="item">
                    	<div class="image"></div>
                    	<div class="cover">
                        	<div class="text"></div>
                        	<div class="circle"></div>
                        </div>
                    </div>
                </div>
                
            </section>
        </div>
        
        <footer></footer>
        
    </body>
    </html>
    


    @charset "utf-8";
    /* CSS Document */
    
    section.technologies {
    	height: 100vh;
    	background-color: #fff;
    }
    
    section.technologies .title {
    	font-size: 30px;
    	position: absolute;
    	top: 60px;
    	left: 50%;
    	transform: translateX(-50%);
    }
    
    .layout-inner {
    	width: 800px;
    	max-width: 800px;
    	padding: 0 100px;
    	
    	background-color: red;
    	position: absolute;
    	left: 50%;
    	top: 140px;
    	transform: translateX(-50%);
    }
    
    .slider {
    	width: 100%;
    	padding-top: 50%;
    	background-color: blue;
    	overflow: hidden;
    }
    .slider .inner {
    	position: absolute;
    	width: 200%;
    	top: 0; bottom: 0;
    	background-color: pink;
    	
    	transition: transform 0.5s ease-in-out;
    }
    
    .moved {
    	transform: translate3d( -50%, 0, 0);
    }
    
    .slide {
    	width: 50%;
    	float: left;
    }
    
    .prev, .next {
    	position: absolute;
    	top: 50%;
    	transform: translateY(-50%);
    	width: 60px;
    	height: 60px;
    	background-color: orange;
    	cursor: pointer;
    }
    .prev {
    	left: 0;
    }
    .next {
    	right: 0;
    }
    
    
    
    
    
    
    
    
    
    
    


    $(document).ready(function(){
    
    	$(window).scroll(function(){
    		var scrollTop = $(window).scrollTop();
    		
    		if (scrollTop >= 100) {
    			$("header").addClass("small");
    		} else {
    			$("header").removeClass("small");
    		}
    		
    		if (scrollTop >= 200) {
    			$("section.visual .title").fadeOut(500);
    		} else {
    			$("section.visual .title").fadeIn(500);
    		}
    	});
    	
    	$("section.visual .bg").mousemove(function(e){
    		var pointer = $(window).width() / 2 - e.clientX;
    		
    		$(this).css("transform", "translate3d( "+ pointer/40 +"px , 0, 0)");
    		
    	});
    	
    	
    	$(".prev").click(function(){
    		$(this).parent().find(".inner").removeClass("moved");
    	});
    	
    	$(".next").click(function(){
    		$(this).parent().find(".inner").addClass("moved");
    	});
    	
    
    });
    




  • ?
    콘디쌤 2017.04.24 12:35
    hover event background image zoom in effect

    1. image div 만들고
    2. 이 div안에 background-image를 꽉차게 (cover)
    3. hover 시 image div를 transform scale(1.1) 적용
    4. image div에 transition 걸기

    안보였다가 보이게 하는 방법
    transition 이 없을 때
    display: none; --> display: block;

    transition 이 있을 때
    display: none; --> $().fadeIn(); jQuery 필요

    only CSS
    visibility: hidden; --> visibility: visible;
    opacity: 0; --> opacity: 1;


    슬라이더 (slider) = 롤링배너
    - 캐러셀 슬라이더
    - 플립플롭 슬라이더 (책장 넘기기)
    > inner (wrap)

    -> stop().animate()

    -> translate3d() : 굉장히 부드럽다
    연속적인 연출에 취약

    -> transition 으로 움직임
    -> addClass, removeClass


    -> only auto slider 경우 CSS animation


    - 페이드 슬라이더
    > absolute
?

List of Articles
번호 카테고리 제목 글쓴이 날짜 조회 수
공지 디지털디자인A NCS (국가직무능력표준) - 디지털디자인 학습모듈 1 콘디쌤 2015.04.19 394
319 UI/UX 실무 XE 레이아웃 콘디쌤 2017.06.08 21
318 UI/UX 실무 실무프로젝트 - kibos 완료 콘디쌤 2017.06.01 31
317 UI/UX 실무 실무프로젝트 - 10일차 1 콘디쌤 2017.05.30 27
316 UI/UX 실무 실무프로젝트 - 9일차 1 콘디쌤 2017.05.29 27
315 UI/UX 실무 실무프로젝트 - 8일차 1 콘디쌤 2017.05.29 23
314 UI/UX 실무 실무프로젝트 - 7일차 1 콘디쌤 2017.05.26 29
313 UI/UX 실무 실무프로젝트 - 6일차 6 콘디쌤 2017.05.25 24
312 UI/UX 실무 실무프로젝트 - 5일차 2 콘디쌤 2017.05.23 54
311 UI/UX 실무 실무프로젝트 - 4일차 4 콘디쌤 2017.05.23 77
310 UI/UX 실무 실무프로젝트 - 3일차 3 콘디쌤 2017.05.20 54
309 UI/UX 실무 실무프로젝트 - 2일차 3 콘디쌤 2017.05.18 57
308 UI/UX 실무 실무프로젝트 - 1일차 4 콘디쌤 2017.05.17 101
307 UI/UX 실무 설화수 brands 메뉴 1 콘디쌤 2017.05.10 34
306 UI/UX 실무 모바일 앱 제작 - 마무리 콘디쌤 2017.05.04 53
305 UI/UX 실무 모바일 앱 제작 - 동영상 / 마무리 3 콘디쌤 2017.05.01 95
304 UI/UX 실무 모바일 앱 제작 - 입력폼 / 팝업 8 콘디쌤 2017.04.27 113
303 UI/UX 실무 모바일 앱 제작 - 상세 페이지 / 팝업 3 콘디쌤 2017.04.26 73
302 UI/UX 실무 모바일 앱 제작 기초 4 콘디쌤 2017.04.25 82
301 UI/UX 실무 반응형 - 아모레퍼시픽 설화수 7일차 (복습) 5 콘디쌤 2017.04.24 76
» UI/UX 실무 반응형 - 아모레퍼시픽 설화수 6일차 (복습) 3 콘디쌤 2017.04.23 67
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 16 Next
/ 16