Could I also ask for how you made the gradient map color thingy for buttons..
ofc!
FEED/POST/QUESTION BUTTONS
a.active{ background: linear-gradient(180deg, rgba(19,19,19,1) 0%, rgba(125,32,34,1) 50%, rgba(181,181,181,1) 100%) !important; font-weight: bold; color: #EBEAEA !important; padding: 5px; }
ASK BUTTON
.response .card:first-child { background: linear-gradient(180deg, rgba(19,19,19,1) 0%, rgba(125,32,34,1) 50%, rgba(181,181,181,1) 100%) ; color: #EBEAEA !important; border-radius: 15px !important; }
CODE FOR THE OTHER BUTTONS.
just a heads-up: it affects almost all elements on the page, so be careful with it.:root, * { --color-primary: linear-gradient(180deg, rgba(19,19,19,1) 0%, rgba(125,32,34,1) 50%, rgba(181,181,181,1) 100%) !important; border-radius: 15px!important; }
how you see i used primarily linear-gradient function, and background property
i also used that gradient generator to make work easier
Reactions
Comments
Leave a comment