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

🗙
Login
Register

Create Account

Cancel
Back to Web elements
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start (If no need remove it)**/
@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;
}

img {
	max-width: 100%;
}

/**Typeo CSS End (If no need remove it)**/
.lookbook-pdt-scn, .lookbook-pdt-scn * {
	--bg-clr: #f6fdff;
	--page-width: 1550px;
	--base-fm: 'Rubik', sans-serif;
	--title-size: 40px;
	--base-size: 14px;
	--base-clr: #2a2a2a;
	--white-clr: #ffffff;
	--theme-clr: #ff6200;
}

.lookbook-pdt-scn {
	padding-top: 60px;
	padding-bottom: 60px;
	font-family: var(--base-fm);
	background-color: var(--bg-clr);
	font-size: var(--base-size);
	text-align: center;
	line-height: 1.5;
	color: var(--base-clr);
}

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

.lookbook-pdt-scn h2 {
	margin: 0px 0 20px 0;
	font-size: var(--title-size);
	text-align: center;
	display: block;
}

.lookbook-pdt-scn img {
	display: block;
}

.lookpdt-list {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

.lookpdt-list .look-item {
	width: 50%;
	position: relative;
}

.lookpdt-point {
	position: absolute;
	left: 0px;
	top: 0px;
}

.pdt-point-1 {
	left: 35%;
	top: 33%;
}

.pdt-point-2 {
	left: 35%;
	top: 48%;
}

.pdt-point {
	color: #fff;
	position: relative;
	width: 20px;
	height: 20px;
	display: block;
	border-radius: 50%;
	cursor: pointer;
	background-color: #fff;
}

@keyframes dotScale {
	0% {
		opacity: .4;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(3);
	}

}

.pdt-point:before {
	content: "";
	border-radius: 50%;
	background: currentColor;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: 1.5s dotScale ease-in-out infinite;
}

.lookbookpdt {
	display: none;
}

.lookbookpdt {
	width: 200px;
	display: flex;
	flex-flow: row wrap;
	overflow: hidden;
	background-color: #fff;
	transition: 0.5s all;
	top: 40px;
	z-index: 99;
	position: absolute;
	color: var(--base-clr);
	text-align: left;
	text-decoration: none;
	border: #ccc 1px solid;
	border-radius: 4px;
	pointer-events: none;
	opacity: 0;
}

.lookpdt-point:hover .lookbookpdt {
	top: 22px;
	pointer-events: auto;
	opacity: 1;
}

.lookbookpdt img {
	max-width: 100%;
}

.lookbookpdt .lookpdt-cont {
	padding: 5px 10px;
	width: 100%;
}

.lookbookpdt .lookpdt-cont .lookpdt-title {
	display: block;
}

.lookbookpdt .lookpdt-cont:hover .lookpdt-title {
	text-decoration: underline;
}

@media(max-width:767px) {
	.lookbook-pdt-scn {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.lookbook-pdt-scn h2 {
		font-size: calc(var(--title-size) - 10px);
	}

	.lookpdt-list .look-item {
		width: 100%;
		margin: 8px 0px
	}

}

Related Web Elements