J
J
Johannes Cruijff2018-06-08 17:12:55
css
Johannes Cruijff, 2018-06-08 17:12:55

Why doesn't Sublime Text 3 always work correctly?

Hello, I'm 18 years old, I'm in the process of learning to layout websites and I recently encountered an unpleasant feature of the code editor.
The fact is that Sublime Text sometimes does not apply the parameters set in the file. What to do?
For example: I set some CSS property, save the document, try to run it, but I don't see the result...
And it's not that I made a mistake. Or rather, at first I thought so. I highlighted the code, pasted it on Codepen to show it to a friend — and everything worked flawlessly! The elements lined up just the way I wanted them, in the right color/shape.
I open the sublime again - nothing works , as if there is a donut hole, not selectors.
How so? Faced for the first time, I do not understand anything. Please don't laugh. Already the CSS-file itself was rewritten completely, and the laptop was reloaded ... the question, obviously, is quite easy? But not for me yet, just a beginner :( This problem is very annoying and slows down the layout process.
I already tried to find a solution on the toaster. It seems that I came across an answer with a similar problem, but the solution was offered quite capaciously: "Cache".
Is this really the problem? If yes, how to clear editor cache?Explain more details
please.Thanks in advance for every
answer.Version: Sublime Text 3
OS: Win 10

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
takinglimits, 2018-06-08
@takinglimits

I had probably a similar problem, I don't remember in which editor. When I created an empty div (it doesn't matter with a class, without a class, with or without an id) and set some style in css, approx. div(or .class or #id){ width: 100px; height: 100px; background-color: black} then it didn't show up until I typed some text in the div, then saved, deleted the text, saved again and reloaded the page. I still did not understand what was the reason, experts will correct, but it helped me.

B
bastaf2, 2018-06-15
@bastaf2

It's not about the editor. Upload images to CodePen and check if everything sticks together there as well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question