V
V
Valery2014-08-15 23:17:21
css
Valery, 2014-08-15 23:17:21

How to set CSS Code Style in PhpStorm in one line?

Good evening,
can anyone come across how to do CSS auto-formatting like in the example below?
I'm not the only one who writes CSS in one line, I love someone who asked this question.

.placemark .title {font-size:1.25em; font-weight:bold; margin-bottom:10px;}
    .placemark .title i {font-size:2.2em; margin-right:5px; vertical-align:middle;}
    .placemark .title span {position:relative; top:2px;}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2014-08-16
@nazarpc

Wow, that's tough. PhpStorm works well with preprocessors and turns LESS/SASS into CSS on the fly.
The use of preprocessors makes it possible to write bolder, smaller, and more readable.
Look towards preprocessors, I would say the entry threshold is zero, this question will disappear by itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question