0

I am attempting to make my submit button have a red background and white text. I am using css style within the html <head> section. I have tried this:

input [type="Submit"] {
   color: white; 
   background: red;
}

But this does not work. Does anyone have any ideas about what might be going on?

https://dash.generalassemb.ly/projects/build-your-own-personal-website
MARSHMALLOW
  • 1,315
  • 2
  • 12
  • 24

1 Answers1

0

Your CSS syntax is wrong: don't put a space between input and [type="Submit"].

Here is your code:

input[type="Submit"] {
   color: white; 
   background: red;
}
<input type="submit">
MARSHMALLOW
  • 1,315
  • 2
  • 12
  • 24