insert background image in mvc application

-3

asked by anonymous 30.11.2017 / 13:05

1 answer

1

Hi, how are you? In MVC we usually use a folder called assets with CSS subdirectories, JAVASCRIPT and IMAGES to organize the items that make up our VIEW, Since what you want is to add a Background the Ideal would be to create this structure and then add within your CSS the code

body
{
       background-image: url('Caminho da imagem');
}

Follow MVC folder organization image

    
30.11.2017 / 13:20