Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

Save Automatically?

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

              
                
<body>
<!--YEAR CHANGE -->
<!--YEAR CHANGE -->
<!--YEAR CHANGE -->

<div class="textchange">Change Text</div>
	

<!-- MAIN SITE -->	
<!-- MAIN SITE -->	
<!-- MAIN SITE -->		

	
	<div class="outer-wrapper">
  		<div class="wrapper">
	  

<!-- SECTION ONE -->
<!-- SECTION ONE -->	
<!-- SECTION ONE -->	

    		<div class="slide one">

					<div class="btn-container marker1">
						<button class="active-btn">
						</button>	
					</div>

					<div class="btn-container marker2">
						<button class="active-btn">
						</button>	
					</div>

					
			</div>
    		
			
			<div class="slide two"></div>
    	<div class="slide three"></div>
			<div class="slide four"></div>
			<div class="slide five"></div>
			<div class="slide six"></div>
  		</div>
</div>

	
<!-- JavaScript -->	
<!-- JavaScript -->	
<!-- JavaScript -->	
<script 


</body>
</html>

              
            
!

CSS

              
                @charset "UTF-8";
/* CSS Document */

html,
body {
    margin: 0;
	font-size: 16px;
    font-weight: 300;
    font-family: "rubik","roboto";
	
}

/* //////////////////////// HORIZONTAL SCROLL //////////////////// */
/* //////////////////////// HORIZONTAL SCROLL //////////////////// */
/* //////////////////////// HORIZONTAL SCROLL //////////////////// */

.outer-wrapper {
  width: 100vh;
  height: 100vw;
  transform: rotate(-90deg) translateX(-100vh);
  transform-origin: top left;
  overflow-y: scroll;
  overflow-x: hidden;
  position: absolute;
 scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display:none;
}

.slide {
  width: 100vw;
  height: 100vh;
}
.wrapper {
  display: flex;
  flex-direction: row;
  width: 600vw;
  transform: rotate(90deg) translateY(-100vh);
  transform-origin: top left;
}
.one {
 background: linear-gradient(to top, #051937, #203168, #48499a, #7b5fcc, #b673fc);
}
.two {
  background: linear-gradient(to top, #b673fc, #7b5fcc, #48499a, #203168, #051937);
}
.three {
  background: linear-gradient(to top, #051937, #203168, #48499a, #7b5fcc, #b673fc);
}
.four {
  background: linear-gradient(to top, #b673fc, #7b5fcc, #48499a, #203168, #051937);
}
.five {
  background-image: linear-gradient(to top, #051937, #203168, #48499a, #7b5fcc, #b673fc);
}
.six {
  background: linear-gradient(to top, #b673fc, #7b5fcc, #48499a, #203168, #051937);
}



/* //////// CHANGING ELEMENT ////// */


.textchange {
  position: fixed;
  z-index:  99;
  top: 30px;
  left: 50%; 
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-family: rubik;
  font-weight: 700;
  font-size: 30px;
  color:  #fff;

}


.btn-container {
	width: 30px;
	height: 30px;
	background: transparent;
	border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
	text-align:center;
	margin-left: 0px;
	margin-right: 0px;
  position: relative;
}

/* Button image*/ 
.icon{
	opacity: 0;
}

.icon:hover{
	opacity: 1;
	transition: opacity .3s ease-in-out;
}

/* Button Styling */ 

.active-btn {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    color: #111;
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 50%;
	padding: 0;
	margin: 0;
}

/* ///// MARKER POSITIONS ////// */ 


.marker1{
  top: 50%;
  left: 75%;
}
.marker2{
  top: 50%;
  left: 85%;
}

              
            
!

JS

              
                

              
            
!
999px

Console