R
R
ramzan2021-01-19 07:45:23
Layout
ramzan, 2021-01-19 07:45:23

Why doesn't img path work in scss?

Hello Habr. The situation in the sublime editor, in short, scss does not find the path to the img folder through background, and indeed to any folders, through (../) shows only PC drives and css properties, such as tdn tac, mt etc, and that's all, on css works well. It works on brackets in scss, and files are shown through the background element, but not on sublime. The css is connected to the html and scss will compile the css file into the css folder, apart from the background image everything is powered by scss.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Plotnikov, 2021-01-19
@Reiit

The path to the image does not depend on the editor. Looks like you are pointing the wrong path. Your scss will be compiled into css and from its location you need to pave the way to the image.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question