Blog Carousel CSS

mail@pastecode.io avatar
unknown
css
7 months ago
1.5 kB
6
Indexable
Never
/*blog carousel*/

.owl-stage {
	display: flex !important;
	justify-content: space-between !important;
}

.owl-item {
	max-width: 340px !important;
}

.owl-item>.item {
	box-shadow: 0px 4px 23px 0px rgba(0, 0, 0, 0.08) !important;
	background: #1F1F1F !important;
}


.owl-item>.item>div:nth-child(1) {
	margin-bottom: 25px !important;
	align-self: center !important;
}

.owl-carousel .owl-item img {
	max-height: 100% !important;
	position: relative !important;
	width: 100% !important;
	margin-top: 50px !important;
	object-fit: cover !important;
	height: 100% !important;
}

.item>a>div,
.item>div.flex {
	display: none !important;
}

.item>div:nth-child(4) {
	text-align: left;
	margin-top: 20px !important;
	padding-bottom: 10px !important;
}

.gray-backgound {
	background-color: transparent !important;
	border-radius: 20px !important;
	color: var(--orange, #F9A44E) !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: normal !important;
	padding: 0px 15px !important;
	margin-bottom: 10px !important;
}

.item a>h3 {
	margin: 0px !important;
	padding: 0px !important;
	color: var(--orange, #F9A44E) !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: normal !important;
	text-transform: uppercase !important;
	padding: 0px 15px !important;
}

/*blog carousel end*/
Leave a Comment