Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(section-Image-flush-bottom ): add image-flush-bottom section. #312

Merged
merged 7 commits into from
Aug 10, 2023
43 changes: 43 additions & 0 deletions blocks/image-flush-bottom/image-flush-bottom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.section-gradient .image-flush-bottom-wrapper {
border-bottom: 1px solid var(--neutral-sand );
display: flex;
width: 100%;
}

.section-gradient .image-flush-bottom {
margin: 0 auto;
}

.section-gradient .image-flush-bottom-wrapper .only-picture {
border-radius: 10px 10px 0 0;
border-top: 1px solid var(--neutral-sand );
border-right: 1px solid var(--neutral-sand );
border-left: 1px solid var(--neutral-sand );
max-width: 324px;
}

.section-gradient .image-flush-bottom-wrapper .only-picture img {
width: 100%;
}

@media (min-width: 768px) {
.section-gradient .image-flush-bottom-wrapper .only-picture{
max-width: 575px;
}

.section-gradient .image-flush-bottom-wrapper .only-picture img {
width: 100%;
}
}

@media (min-width: 1200px) {
.section-gradient .image-flush-bottom-wrapper .only-picture {
border-radius: var(--spacer-element-06) var(--spacer-element-06) 0 0;
background: var(--neutral-white);
max-width: var(--section-width-desktop);
}

.section-gradient .image-flush-bottom-wrapper .only-picture img {
width: 100%;
}
}