Using CSS and Images

Using CSS and Images

We put all the css and images in public folder. We will create separate folder for each and put images and css inside it.

Create new folder for css inside the public folder after that create a new file main.css inside the css folder and copy all the css inside this main.css and use link tag in layout.blade.php like as usual we use external style sheet

<link href=” /css/main.css” rel=” stylesheet”>

Now we will create new folder for images inside the public folder and put all the images of project here and use all the images in the same way as we use in html.

<img src=” /img/demo.png’>

Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

*

*