Blog Carousel CSS

mail@pastecode.io avatar
unknown
css
a year ago
1.9 kB
3
Indexable
/*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: rgba(246, 245, 241, 0.50) !important;
	display: flex !important;
    flex-direction: column !important;
}


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

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

.item>a>div,
.item>div.flex>span {
	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(--4-d-6-a-6-a-text, #4D6A6A) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    padding: 10px 33px !important;
}

.item>div.flex{
    margin-top: 0px !important;
    order: 2 !important;
    padding-top: 48px !important;
    border: 1px solid #8F8059 !important;
    border-bottom: 0 !important;
}

.item a>h3 {
	margin: 0px !important;
	padding: 0px !important;
	font-size: 24px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: normal !important;
	padding: 0px 15px !important;
	color: var(--21203-a-text, #21203A) !important;

}


div.owl-stage-outer > div.owl-stage > div.owl-item > div.item > a{
    border: 1px solid #8F8059;
    padding: 48px 16px !important;
    display: block !important;
    order:3 !important;
    padding-top:0 !important;
    border-top: 0 !important;
}

/*blog carousel end*/
Leave a Comment