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

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

              
                <header>
	<div class="container">
		<h1 class="logo"><i class="fa fa-eercast" aria-hidden="true"></i></h1>

		<section class="about">

			<h1><span class="orange">DIGI</span>TAL</h1>
			<h2>Photographer <span class="orange">Service</span></h2>

		</section>
	</div>
</header>

<section class="gallery">
	<div class="container">
		<section class="top">
			
				<div class="element">
					<div class="tri">
						<img src="https://preview.ibb.co/mgzz4Q/t_left.png">
					</div>
				</div>
					
				<div class="element">
					<div class="tri">
						<img src="https://preview.ibb.co/e0Sadk/t_center.png">
					</div>
				</div>
					
				<div class="element">
					<div class="tri">
						<img src="https://preview.ibb.co/ejPcr5/t_right.png">
					</div>
				</div>
			
		</section>
		<section class="bottom">
			
			<div class="element">
				<div class="tri">
					<img src="https://image.ibb.co/mxdLB5/b_left.png">
				</div>
			</div>
			
			<div class="element">
				<div class="tri">
					<img src="https://preview.ibb.co/edgqB5/b_right.png">
				</div>
			</div>
			
		</section>
	</div>
</section>

<section class="services">
	
	<div class="container">
		
		<ul class="left">
			<li>FASION</li>
			<hr>
			<li>WEDDINGS</li>
			<hr>
			<li>FAMILY</li>
		</ul>
		
		<ul class="right">
			<li>EVENT</li>
			<hr>
			<li>CORPORATE</li>
			<hr>
			<li>PHOTOGRAPHY</li>
		</ul>
		
	</div>
	
</section>

<section class="about-us">
	<div class="container">

		<h2 class="orange">About US</h2>
		<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>

	</div>
</section>

<footer>
	<div class="container">
		<section class="qr-code">
			<img src="https://image.ibb.co/kDP0Tk/qr_code1.png">
		</section>
		<section class="contact-me">
			<h2 class="orange">
				Call Us: 0975-304-205
			</h2>
			<p>www.designsoulsite.com</p>
			<p>29 Barklay Road, New Street Hall, Australia</p>
		</section>
	</div>
</footer>

              
            
!

CSS

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

ul {
	
	list-style: none;
	
}

body {
	
	font-family: Montserrat;
	background-image: url(https://preview.ibb.co/fdW4M5/bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50%;
	
}

.container {
	
	width: 728px;
	margin: auto;
	overflow: hidden;
	
}

header {
	
	color: #fff;
	overflow: hidden;
	margin: 50px auto;
	
}

header > .container > * {
	
	display: inline-block;
	
}

header .logo {
	
	float: left;
	font-size: 9em;
	
}

header .about {
	
	float: left;
	margin-left: 20px;
	margin-top: 20px; /* Change */
	
}

header  .about h1 {
	
	font-size: 4em;
	font-weight: 500;
	letter-spacing: 0.65em;
	
}

header .about h2 {
	
	font-weight: 300;
	font-size: 3em
	
}

.orange {
	
	color: #F4BE00;
	
}

.gallery .top .element {

	display:inline-block;
	width: 300px;
	height: 160px;
	background-color: transparent;
	overflow: hidden;

}

.gallery .top .element:not(:first-child) {

	margin-left: -100px;
		
}


.gallery .top .element:nth-child(odd) {
	
	border-bottom: 7px solid #fff;
	border-radius: 10px;

}

.gallery .top .element:nth-child(even) {
	
	border-top: 7px solid #fff;
	border-radius: 10px;
	
}

.gallery .top .element .tri {
	
    width: 230px;
    height: 230px;
    position: relative;
    transform: rotate(45deg);
    bottom: -50px;
    left: 35px;
	border: 7px solid #fff;
	border-radius: 10px;
	overflow: hidden;

}

.gallery .top .element:nth-child(even) .tri {
	
	top: -125px;
	left: 35px;
	
}

.gallery .top .element:nth-child(1) .tri img {
	
	width: 400px;
	transform: rotate(-45deg);
	position: relative;
	top: 5px;
	left: -150px;
	
}

.gallery .top .element:nth-child(2) .tri img {
	
	width: 400px;
	transform: rotate(-45deg);
	position: relative;
	top: 115px;
	left: -50px;
	
}

.gallery .top .element:nth-child(3) .tri img {
	
	width: 300px;
	transform: rotate(-45deg);
	position: relative;
	top: -50px;
	left: -100px;
	
}

.gallery .bottom {
	
	margin-top: 20px;
	
}

.gallery .bottom .element {

	display:inline-block;
	width: calc(50% - 10px);
	height: 500px;
	overflow: hidden;

}

.gallery .bottom .element:first-child,
.gallery .bottom .element:last-child {
	
	border-top: 7px solid #fff;
	border-radius: 20px;
	
}

.gallery .bottom .element:first-child {
	
	border-right: 7px solid #fff;
	float: left;
	
}

.gallery .bottom .element:last-child {
	
	border-left: 7px solid #fff;
	float: right;
	
}

.gallery .bottom .element .tri {
	
	width: calc(100% + 110px);
    height: calc(100% + 110px);
    position: relative;
	background-color: rgba(255, 255, 0, 0.5);
	overflow: hidden;
	border: 7px solid #fff;
	border-radius: 20px;

}

.gallery .bottom .element:first-child .tri {
	
	transform: rotate(-34.5deg);
	top: -175px;
	left: 120px;
	
}

.gallery .bottom .element:first-child .tri img {

	transform: rotate(30.5deg);
	position: relative;
	left: -225px;
	top: 20px;

}

.gallery .bottom .element:last-child .tri {
	
	transform: rotate(34.5deg);
	top: -175px;
	left: -230px;
	
}

.gallery .bottom .element:last-child .tri img {
	
	transform: rotate(-34.5deg);
	position: relative;
	height: 500px;
	top: 100px;
	left: -30px;
	
}

.services ul {
	
	width: 250px;
	
}

.services ul li {
	
	color: #fff;
	font-weight: 400;
	font-size: 1.4em;
	letter-spacing: 0.28em;
	margin: 3px 0;
	
}

.services .left {
	
	float: left;
	
}

.services .right {
	
	float: right;
	text-align: right;
	
}
.services hr {
	
	height: 4px;
	background-color: #F4BE00;
	border: 1px solid #F4BE00;

}

.about-us h2 {
	
	text-align: center;
	
}

.about-us p {
	
	color: #fff;
	font-size: 1.2em;
	font-weight: 500;
	text-align: center;
	
}

footer {
	
	margin: 50px 0;
	
}

footer > .container > * {
	
	display: inline-block
	
}

footer .qr-code {
	
	float: left;
	
}

footer .qr-code img {
	
	width: 120px;
	padding: 5px;
	border: 5px solid #fff;
	border-radius: 20px;
	
}

footer .contact-me {
	
	float: right;
	text-align: right;
	
}

footer .contact-me p {
	
	color: #fff;
	font-size: 1.2em;
	
}

              
            
!

JS

              
                /*

Original Source: https://www.pinterest.com/pin/450852612674942849/

*/
              
            
!
999px

Console