Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
nabs624

Custom CSS button not responsive

Question

I have created a CSS button but it is not responsive. How do I make it so that it's responsive? (I have little knowledge in coding)

This is the CSS code I'm using:

.checkoutbutton { font-family: roboto; font-size: 18px; color: hsl(0,100%,0%); background-color: hsl(48,100%, 50%); font-weight: 700; font-style: normal; text-align: center; width: 100%; text-decoration: none; padding: 21px 40px; margin: 10px; border: 2px; border-style: none; }

.checkoutbutton:hover { color: #000; background-color: hsl(50, 100%, 50%); text-decoration: none; border: 2px; border-style: solid; border-color: hsl(50, 100%, 50%); }

Edited by nabs624
Initial Revision

Share this post


Link to post

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...