I’m trying to recreate some gradient visual effects from my old site. I am VERY new to both Blocs and CSS, so apologies in advance.
In Blocs, can the class editor option for gradients be used for the following?
.graygradient {
background: -webkit-linear-gradient(top, #2A2A2A 0%, #4C4C4C 50%, #2A2A2A 100%);
}
.bluesplitgradient {
background: -webkit-linear-gradient(top, #5CA3BF 0%, #4B93AE 50%, #3A829D 51%, #4B93AE 100%);
}
.bluedividergradient {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4B93AE), color-stop(98%,#3A829D), color-stop(100%,#18607B));
padding: 5px;
}
And if not, what’s the best solution?
Also, on a quick glance, I wasn’t able to see a way to set padding to be so small via the options in Blocs.
I was able to surround the CSS in <STYLE> tags and add it in page settings as code, but because they are to be used in a global header, it only worked for the first page.
So instead, I added it at the project level as a .css file, and that does seem to work.
I understand I’m going against the philosophy of Blocs in that you’re not SUPPOSED to need to code, so is there a better way?
Thanks for any tips for this beginner!