markup not allowed in CSS code from button generator
-
Hello. I don’t know enough about CSS to recognize what the markup is. The code is less than twenty lines so I’ll post it here:
href=”#”
class=”myButton”<a href="#">Donate</a> .myButton { box-shadow:inset 0px 1px 0px 0px #bee2f9; background:linear-gradient(to bottom, #63b8ee 5%, #468ccf 100%); background-color:#63b8ee; border-radius:6px; border:1px solid #3866a3; display:inline-block; cursor:pointer; color:#14396a; font-family:Arial; font-size:16px; font-weight:bold; padding:6px 24px; text-decoration:none; text-shadow:0px 1px 0px #7cacde; } .myButton:hover { background:linear-gradient(to bottom, #468ccf 5%, #63b8ee 100%); background-color:#468ccf; } .myButton:active { position:relative; top:1px; }
It’s to replace the ugly Donate button for Stripe on the site.
Also, do I not need to have a bit of code in the Custom HTML widget to call the class of this CSS?
Once I get this displaying properly I should be able to play with modifications and duplicate it on another site on my own.
Thank you very much!
- This topic was modified 4 years, 2 months ago by .
- This topic was modified 4 years, 2 months ago by .
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘markup not allowed in CSS code from button generator’ is closed to new replies.