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

              
                  <section class="intro">
        <div class="video-container">
            <video src="https://cdn.videvo.net/videvo_files/video/free/2014-07/large_watermarked/Run_5_wo_metadata_h264420_720p_UHQ_preview.mp4" autoplay muted loop></video>
        </div>
        <div class="content">
            <h1>Tam Ekran Video</h1>
            <h4>Arka Plan için Tam Ekran Video Örneği</h4>
            <a href="#page" class="read-more">Devamını Oku</a>
        </div>
    </section>

    <section id="page">
        <h1>Lorem Ipsum</h1>
        <p>
            Lorem ipsum dolor sit, amet consectetur adipisicing elit. Vero iure obcaecati enim velit explicabo sint hic aut cumque nam quod quo ipsum, fuga minima dolore quos eum quae ab dignissimos?

        </p>

    </section>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.5;
}

h1 {
	font-weight: 300;
	font-size: 50px;
	line-height: 1.2;
	margin-bottom: 15px;
}

/* Giriş Bölümü */
.intro {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding: 0 20px;
}
/* Giriş Bölümü Bitiş */

/* Video Konumlandırma */
.video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #333;
}
.video-container video {
    min-width: 100%;
	min-height: 100%;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}
/* Video Konumlandırma Bitiş */

/* Karartma Efekti */
.video-container:after {
	content: '';
	z-index: 1;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
}
/* Karartma Efekti Bitiş */

.content {
	z-index: 2;
}

.read-more {
	display: inline-block;
	padding: 10px 30px;
	background: #333;
	color: #fff;
	border-radius: 5px;
	border: solid #fff 1px;
	margin-top: 25px;
	opacity: 0.8;
    transition: .2s all;
    text-decoration: none;
}

.read-more:hover {
	transform: scale(.9);
}

/* İçerik (Opsiyonel) */
#page {
	padding: 40px;
	text-align: center;
}

#page p {
	font-size: 1.2rem;
	max-width: 600px;
	margin: auto;
}

#page h2 {
	margin: 30px 0;
	color: #333;
}

.social a {
	margin: 0 5px;
}
/* İçerik Bitiş */
              
            
!

JS

              
                
              
            
!
999px

Console