Extract Ruleset

Use an intention to quickly extract a ruleset in your stylesheet file.

With the Extract ruleset intention ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), you can quickly move selected declarations to a new ruleset in the same file.


Related Resources

Check CSS Properties
Check CSS Properties
How to review the related CSS docs in WebStorm.
Show CSS Color Preview
Show CSS Color Preview
How to display a CSS color in the background in WebStorm.
Check Browser Compatibility in CSS
Check Browser Compatibility in CSS
Let WebStorm warn you about unsupported CSS properties.