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

Back to Web elements
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start**/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
	box-sizing: border-box;
}

body {
	margin: 0px;
	background-color: #fff;
}

img {
	max-width: 100%;
}

/**Typeo CSS End**/
.overlay-bg {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	left: 0px;
	top: 0px;
}

.bnr-inr-scn, .bnr-inr-scn * {
	--page-width: 1330px;
	--base-fm: 'Rubik', sans-serif;
	--title-size: 40px;
	--base-size: 20px;
	--white-clr: #ffffff;
	--theme-clr: #1ea69a;
	--bg-clr: #F9F6F2;
}

.page-width {
	max-width: var(--page-width);
	padding: 0 15px;
	margin: auto;
	width: 100%;
}

.bnr-inr-scn {
	position: relative;
	background-size: cover;
	background-color: var(--bg-clr);
	width: 100%;
	padding: 20px 0px;
	font-family: var(--base-fm);
	font-size: var(--base-size);
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	color: var(--white-clr);
	min-height: 300px;
}

.bnr-cont-inner {
	max-width: 800px;
	width: 100%;
	margin: 0;
	position: relative;
	z-index: 1;
}

.bnr-inr-scn h1 {
	font-size: var(--title-size);
	margin: 0px;
	line-height: normal;
}

@media(max-width:1200px) {
	.bnr-inr-scn {
		min-height: 200px;
	}

	.bnr-inr-scn h1 {
		font-size: calc(var(--title-size) - 14px);
	}

	.bnr-inr-scn {
		font-size: calc(var(--base-size) - 5px);
	}

	.bnr-inr-scn p {
		margin: 5px 0;
	}

}

@media (max-width:767px) {
	.bnr-inr-scn {
		min-height: 150px;
	}

}

Related Web Elements