Skip to content

Change background color in MVC

Shibly Sadik

Asked Feb 6, 2015, 2:08 AM EST2 answers
Share
LinkedInX
I have started with an empty MVC 4 project.Now,i want to change the background color of its views .How can i do it?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Burak Seyhan
    0
    Hi, you can set the background-color on _layout page
    0
  • Pranay Rana
    0
    To change background color of the html page , you just need to set background-color property of style of body element

    css will be

    body
    {
      background-color : black ;
    }
    0