Gradient full lading page #6840
Answered
by
facelessuser
meroxdotdev
asked this question in
Q&A
-
Hello, I've used this resource to create my landing pge of mkdocs-material: But I want to make the gradient of the landing page to be complete on all page, I don't know how to do this, can you help please ? That white space it's black when dark mode is enabled, I'm very noob regarding frontend :D |
Beta Was this translation helpful? Give feedback.
Answered by
facelessuser
Feb 26, 2024
Replies: 1 comment 1 reply
-
You can set the following transparent. tx-container {
background: transparent;
} And then set the container behind it with a gradient: .md-container {
background: linear-gradient(to bottom, var(--md-primary-fg-color), hsla(0deg,47%,55%,1) 99%,#fff 99%);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
meroxdotdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the following transparent.
And then set the container behind it with a gradient: