Style Sheets
PhpStorm brings powerful editing support for CSS and related technologies. Among others this support includes:
Validation and syntax highlighting.
Code completion (Ctrl+Space).
Indentation (Ctrl+Alt+I, Ctrl+Alt+L).
Formatting (Ctrl+Alt+L) according to the code style.
Intention actions (Alt+Enter).
Viewing code structure (Alt+7).
Navigation in the source code (Ctrl+B).
Integrated documentation (Ctrl+Q).
Search for usages (Alt+F7).
Select, move, copy lines and code blocks (Ctrl+/, Ctrl+Shift+/).
Unwrapping and removing tags (Ctrl+Shift+Delete).
Compilation into CSS.
PhpStorm parses Web contents files according to the CSS 3.0 specification. The most common selectors are supported: universal selector *
, type selectors .a
, descendant selectors .a.b
, child selectors .a .b
, ID selectors #b
, pseudo-classes and class selectors DIV.warning
.