Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] styling buttons

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207379
    drone4four
    Participant

    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.

    #207382
    Shikkediel
    Participant

    This bit :

    <input type="myButton"
    

    Should be :

    <input class="myButton" type="button"
    

    Otherwise the class isn’t being applied.

    #207413
    drone4four
    Participant

    That worked. Thank-you @Shikkediel.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.