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;
}

img {
	max-width: 100%;
}

/**Typeo CSS End**/
.cate-scn, .cate-scn * {
	--bg-clr: #f6fdff;
	--page-width: 1330px;
	--base-fm: 'Rubik', sans-serif;
	--title-size: 40px;
	--catetitle-size: 18px;
	--white-clr: #ffffff;
	--theme-clr: #ff6200;
	--bdr-clr: #b7b7b7;
}

.cate-scn {
	padding: 50px 0px;
	font-family: var(--base-fm);
	background-color: var(--bg-clr);
}

.cate-scn h2 {
	margin: 0px 0 30px 0;
	font-size: var(--title-size);
	text-align: center;
	display: block;
	font-family: var(--base-fm);
}

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

.pcn-scn {
	text-align: center;
	width: 100%;
}

.cate-scn .cate-list {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	justify-content: center;
	grid-gap: 15px;
}

.cate-scn .cate-list .pcn-item {
	width: calc(16.66% - 15px);
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	color: var(--theme-clr);
}

.cate-scn .cate-list .pcn-item .cate-img {
	border-radius: 100%;
	overflow: hidden;
	width: 120px;
	height: 120px;
	display: inline-block;
	border: 2px solid #b7b7b7;
	margin-bottom: 5px;
}

.cate-scn .cate-list .pcn-item .cate-img img {
	display: block;
	width: 100%;
	height: 100%;
	transition: 0.5s all;
}

.cate-scn .cate-list .pcn-item:hover .cate-img img {
	transform: scale(1.1);
}

.cate-scn .cate-list .pcn-item .cate-item-title {
	font-size: var(--catetitle-size);
	display: block;
	font-weight: 500;
	transition: 0.5s all;
}

.cate-scn .cate-list .pcn-item .cate-count {
	border-radius: 100%;
	background-color: var(--theme-clr);
	width: 20px;
	height: 20px;
	display: inline-block;
	color: var(--white-clr);
	line-height: 1.4;
	font-weight: 300;
	font-size: 12px;
	padding: 2px;
	position: relative;
	left: 2px;
	top: -2px;
}

.cate-scn .cate-list .pcn-item:hover .cate-item-title {
	opacity: 0.8;
}

@media(max-width:992px) {
	.cate-scn .cate-list .pcn-item {
		width: calc(33.33% - 15px);
	}

}

@media(max-width:600px) {
	.cate-scn .cate-list .pcn-item {
		width: calc(50% - 15px);
	}

}

Related Web Elements