The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] styling buttons
I’m trying to implement some of the sample CSS and HTML produced by this helpful button generator: http://www.bestcssbuttongenerator.com/#/4
Here is my testcase: http://codepen.io/Angeles4four/pen/OyJPKL
Why does the button in my test case look nothing like the buttons featured on that generator’s website? I figure the answer to this question is going to be trivial. What am I missing?
By all means, please unleash a cluebat!
Thanks for your attention.
This bit :
<input type="myButton"
Should be :
<input class="myButton" type="button"
Otherwise the class isn’t being applied.
That worked. Thank-you @Shikkediel.