You see, I have a file named estilos.css with the following code:
div{background-color: #000000;}
I have stored it in the public / css directory, and now the story is how I pass it to the views. I tried to put it like this:
<link rel="stylesheet" type="text/css" href="/public/css/stilo.css" />
But I have not achieved results. How would it be right?
More details: I have a styles.css file with the following code:
body{
color: red;
}
And I put it inside the tag " head " in app.blade.php:
<link href="{{ asset('css/estilos.css') }}" rel="stylesheet">
Next, I enter " body " the following code:
style="color:red"
Here, on the other hand, if it works. Let's see what I'll be doing wrong.