Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

Back to Common
Preview Source Code
Download
HTML
CSS
* {
	box-sizing: border-box;
}

.wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	width: 90%;
	margin: 2em auto;
	border: 2px solid #0f172a;
	border-radius: 30px;
	overflow: hidden;
	font-family: system-ui;
}

.header {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: center;
	width: 100%;
	padding: 25px;
	background: #303f64;
	border-bottom: 1px solid #0f172a;
	color: #fff;
}

.main {
	width: 65%;
	padding: 25px;
	float: left;
	border-right: 2px solid #0f172a;
}

aside {
	width: 30%;
	float: left;
}

footer {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 100%;
	padding: 25px;
	background: #303f64;
	border-top: 1px solid #0f172a;
	color: #fff;
}

.nav-list {
	display: flex;
	flex-direction: column;
}

.nav-list a {
	margin-bottom: 12px;
	color: #303f64;
}

.image {
	width: 75%;
	height: 6em;
	margin: 0 auto;
	background: #000;
	display: grid;
	place-items: center;
}

.image:before {
	content: "Faux Image";
	color: white;
}

.logo {
	width: 12em;
	height: 5em;
	background: #fff;
	display: grid;
	place-items: center;
	border-radius: 10px;
}

.logo:before {
	content: "Faux Logo";
	color: white;
	color: #000;
}

.animate {
	animation-duration: 0.75s;
	animation-delay: 0.5s;
	animation-name: animate-fade;
	animation-timing-function: cubic-bezier(.26, .53, .74, 1.48);
	animation-fill-mode: backwards;
}

/* Fade In */
.fade {
	animation-name: animate-fade;
	animation-timing-function: ease;
}

@keyframes animate-fade {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}

}

/* Slide In */
.slide {
	animation-name: animate-slide;
}

@keyframes animate-slide {
	0% {
		opacity: 0;
		transform: translate(0, 40px);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}

}

/* Slide Left */
.slide-left {
	animation-name: animate-slide-left;
}

@keyframes animate-slide-left {
	0% {
		opacity: 0;
		transform: translate(-40px, 0);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}

}

/* Slide Right */
.slide-right {
	animation-name: animate-slide-right;
}

@keyframes animate-slide-right {
	0% {
		opacity: 0;
		transform: translateX(40px);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}

}

/* Slide Logo */
.slide-logo {
	animation-name: slide-logo;
}

@keyframes slide-logo {
	0% {
		opacity: 0;
		transform: translateX(40px);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}

}

/* Animation Delays */
.delay-1 {
	animation-delay: 0.3s;
}

.delay-2 {
	animation-delay: 0.6s;
}

.delay-3 {
	animation-delay: 0.9s;
}

.delay-4 {
	animation-delay: 1.2s;
}

.delay-5 {
	animation-delay: 1.5s;
}

.delay-6 {
	animation-delay: 1.8s;
}

.delay-7 {
	animation-delay: 2.1s;
}

.delay-8 {
	animation-delay: 2.4s;
}

.delay-9 {
	animation-delay: 2.7s;
}

.delay-10 {
	animation-delay: 3s;
}

.delay-11 {
	animation-delay: 3.3s;
}

Related Snippets

Leave a comment

Your email address will not be published. Required fields are marked *