-3
Good morning as I leave a background image in my application that is in mvc, I saw some examples that is in the Content folder but when opening the page does not run in the background, thanks
-3
Good morning as I leave a background image in my application that is in mvc, I saw some examples that is in the Content folder but when opening the page does not run in the background, thanks
1
What’s up, my friend? In MVC we usually use a folder called Assets with CSS, JAVASCRIPT and IMAGES subdirectories 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
Thank you so much I will change yet I can’t upload the project because I depend on everyone’s approval to post to Git and Aki too
If that’s the expected answer, be sure to confirm the answer to help the community.
Browser other questions tagged asp.net-mvc mvc
You are not signed in. Login or sign up in order to post.
Did you come to encode something? You can post?
– Andre Gusmao