Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!doctype html> 
<html lang="ko"> 
<head> 
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3.0">
<title>new document</title> 
<style type="text/css"> 
</style> 
<link rel="stylesheet" href="./css/main.css"> 
<link rel="stylesheet" href="./css/font.css"> 
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"> 
</script> 
<script src="./js/main.js"> 
</script> 
<script type="text/javascript"> 
//<![CDATA[ 
//]]> 
</script> 
</head> 
<body>
<!----메인바탕----------------------------------------><!-------------------이부분입니다---------------------------->
  
  <div class="box" style="height:700px; border:0px solid green;">
    <div class="main-img" style="position:relative;">

    <a href="#">
      <div class="main-menu"></div>
    </a>
   
      <div class="main-top">
    <a href="#">
      <div class="main-logo"></div>
    </a>
      </div>
    
      <div class="main-bottom">
    <a href="#">
      <div class="main-video"> 영상보기</div>
    </a>
    
    <a href="#">
      <div class="main-dot">●</div>
    </a>
      </div>
        
    </div>
  </div>

<!----디즈니----------------------------------------->
  
  <div class="box" style="height:600px; background:url(' https://images.unsplash.com/photo-1558335101-cf872fa02538?ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80'); background-size:cover; background-position:top center;">

    <div class="disney">
    <div class="disney-logo">
      <img src="http://www.disney.co.kr/home/m/images/main/logo-d.png" style="float:center;">
      </div>
    
    <div class="disney-text">
    <ul>
      <li><a href="#">인스타그램</a></li>
      <li><a>│</a></li>
      <li><a href="#">페이스북</a></li>
      <li><a>│</a></li>
      <li><a href="#">유튜브</a></li>
      <li><a>│</a></li>
      <li><a href="#">편성표</a></li>
    </ul> 
    </div>
      
    </div>     
  </div>
  
<!----마블------------------------------------------->
  
  <div class="box" style="height:600px; background: url('https://images.unsplash.com/photo-1557342960-7ea3df1d8630?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1031&q=80'); background-size:cover; background-position:top center;">
    
    <div class="marvel">
     
      <div class="marvel-logo">
      <img src="http://www.disney.co.kr/home/m/images/main/logo-m.png">
      </div>
     
    <div class="marvel-text">  
    <ul>
    <li><a href="#">인스타그램</a></li>
    <li><a>│</a></li>
    <li><a href="#">페이스북</a></li>
    <li><a>│</a></li>
    <li><a href="#">유튜브</a></li>
    <li><a>│</a></li>
    <li><a href="#">블로그</a></li>
    </ul>
      
    </div>  
 </div>
    
</div>
  
<!----스타워즈--------------------------------------->
  
  <div class="box" style="height:600px; background:url('https://images.unsplash.com/photo-1517242027094-631f8c218a0f?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60'); background-size:cover; background-position:top center;">
    
    <div class="starwars">
      <div class="starwars-in">
      
        <img src="http://www.disney.co.kr/home/m/images/main/logo-s.png">
      
    <ul>
    <li><a href="#">인스타그램</a></li>
     <li><a>│</a></li>
    <li><a href="#">페이스북</a></li>
    </ul></div>
   
    </div>      
  </div>
  
<!----bottom------------------------------------------------->
  
  <div class="box" style="height:100px; background: #ccc; ">
    
    <div class="bottom">
    <div class="bottom-in" ><a href="#">
      <img src="http://www.myiconfinder.com/uploads/iconsets/256-256-9006558ae0432b649d793b12934ff9b6-Wwf.png"></a>
    </div>
     
    <div class="bottom-logo">
      <ul>
        <li><a href="#">회사 소개</a></li>
        <li><a href="#">채용</a></li>
        <li><a href="#">이용약관</a></li>
        <li><a href="#">개인정보보호정책</a></li>
        <p>ⓒdisneyⓒdisney/pixar
     </ul>
    </div>
    </div>
    
 
  </div>
  
</body> 
</html>

              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:400,500,700&display=swap&subset=korean');

/*-------------------재활용----------------------------*/
 body { 
 font-family: 'Noto Sans KR', sans-serif;  
 color: #fff;
 margin:0;
 paddin:0;
}
h3 {
  font-size:1em;
}
.box { 
 clear:both;
 position:relative;
 width:100%;
 padding:0;
 margin:0;
 background-color: none;
}
.box:after{
  content: '';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.box-se { 
 clear:both;
 position:relative;
 width:100%;
 padding:0;
 margin:0;
 background-color: none;
}
.box-se:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
a {  
  text-decoration:none;
  color:#fff;
}
a{color:#888; text-decoration:none} /* a:link a tag 기본 */
a:hover {color:#222; } /* 마우스오버 link*/
a:active {color:; font-weight:} /* 선택된 link*/
a:visited {color:; font-weight:}

ul li a:hover {
  color: #222;
}

ul li {
  list-style-type:none;
  display:inline-block;
  padding:2px;
}

.button {
  width:100px;
  height:20px;
  background: #777;
  color: #fff;
  padding:10px;
  margin:0 auto;
  text-align:center;
}
#hidden { 
  display:none;
}
/*mobile------------------------------------------*/

/*pc-----------------------------------------------*/

/*------ 메인 -----------------------------------------*/

.main-img {
  width:100%;
  height:700px;
  margin:0;
  background:url('https://images.unsplash.com/photo-1528066588405-9e20509b9e34?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80') no-repeat;
  background-position:center;
  background-size:cover;
  
}
.main-top {
  border:0px solid red;
  padding:10px;
}
.main-menu {
  width:25px;
  height:25px;
  background: url('http://www.disney.co.kr/home/m/images/main/nav-menu.png') no-repeat;
  background-size:cover;
  position:absolute;
  top:35px;
  left:5%;
}
.main-logo { 
  width:200px;
  height:80px;
  background:url('http://www.disney.co.kr/home/m/images/main/logo.png') no-repeat;
  margin:0 auto;
}
.main-bottom { 
  width:95%;
  text-align:center;
  position:absolute;
  bottom:0;
  padding:10px;
}
.main-video { 
  border: 1px solid #fff;
  color: #fff;
  width:100px;
  height:20px;
  padding:10px;
  margin:0 auto;
}
.main-dot {
  color: #fff;
}
/*디즈니-------------------------------------------------*/
.disney {
  border:0px solid red;
  width:100%;
  margin:0 auto;
  position:absolute;
  top:200px; 
}
.disney-logo {
  border:0px solid blue;
  width:330px;
  margin:0 auto;
}
.disney-text {
  border:0px solid red;
  text-align:center;
  margin:0 auto;
}
/*마블------------------------------------*/
.marvel {
  width:100%;
  margin:0 auto;
  position:absolute;
  top:230px; 
}
.marvel-logo { 
  width:250px;
  margin:0 auto;
}
.marvel-text {
  margin:0 auto;
  text-align:center;
}
/*스타워즈--------------------------------*/
.starwars {
  width:100%;
  margin:0 auto;
  position:absolute;
  top:200px; 
}
.starwars-in {
  width:280px;
  margin:0 auto;
  text-align:center;
}
/*하단-----------------------------------*/

.bottom  {
  color:#888;
  font-size:0.8rem;
}
.bottom img {
  width:60px;
  height:60px;
}
.bottom-logo {
  width:280px;
}
.bottom div {
  display:inline-block;
  margin:10px;
}
































              
            
!

JS

              
                http://www.disney.co.kr/home/m/images/main/logo_large.png/*디즈니 로고*/
<img src="http://www.disney.co.kr/upload/ad/DYthk0x2.jpg">
  
  https://images.unsplash.com/photo-1517242027094-631f8c218a0f?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60 /*스타워즈레고*/
  
  https://images.unsplash.com/photo-1558335101-cf872fa02538?ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80 /*백설공주 레고*/

https://images.unsplash.com/photo-1557342960-7ea3df1d8630?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1031&q=80 /*그루트 레고*/
              
            
!
999px

Console