Home > Article > Development Tools > How to run css files in sublime test
To run CSS files in Sublime Text: use the WebKit Inspector plug-in and open the Elements tab to view HTML and CSS via Command Option I (Mac) or Ctrl Alt I (Windows/Linux). Use the LiveReload plug-in to start LiveReload via Command Option L (Mac) or Ctrl Alt L (Windows/Linux) to automatically monitor file changes and refresh
How to run CSS files in Sublime Text
Running CSS files in Sublime Text requires the help of some external tools, such as:
1. WebKit Inspector
Command
Option
I
(Mac) or Ctrl
Alt
I
(Windows/Linux) Open WebKit Inspector. 2. LiveReload
Command
Option
L
(Mac) or Ctrl
Alt
L
(Windows/Linux) Start LiveReload. 3. BrowserSync
Command
Option
B
(Mac) or Ctrl
Alt
B
(Windows/Linux) Start BrowserSync. 4. Real-time preview tool
Some Sublime Text themes provide real-time preview function, for example:
Tab
key in a CSS file to generate an HTML preview. .styl
extension in your CSS files to get a live preview. Note:
The above is the detailed content of How to run css files in sublime test. For more information, please follow other related articles on the PHP Chinese website!