Home > Net >  how do you change the background color with elements: subtle
how do you change the background color with elements: subtle

Time:09-19

<style>
    .subtle {background-color: rgb(0,0,255); }
</style>

i can't get background color to be blue

CodePudding user response:

For example, like this:

.subtle {
  background-color: rgb(0, 0, 255);
  height: 200px;
  width: 200px;
  color: #fff;
}
<div >content</div>

  •  Tags:  
  • css
  • Related