L
L
lukoie2018-01-30 01:29:23
css
lukoie, 2018-01-30 01:29:23

How wrong is it to make such indents?

Here is a piece of layout:
45e3f7c8d93c.png
As you can see, the span is not included in the div. But it's one tab away.
My question is regarding this style of indentation when layout - how normal is it to indent for visual distinction, if the elements are at the same level, and not nested?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Vasilyev, 2018-01-30
@Basil_Dev

Because of such visual incidents, I switched to pug (I made a mistake with tabs - get it on your fingers). Teaches visual cleanliness, so to speak.
Yes, and I personally have some kind of innate aversion to closing tags (hello, ruby, html, the 21st century is in the yard, did you notice?).

F
Froggyweb, 2018-01-30
@Froggyweb

There are all sorts of beauty plugins for editors that indent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question