Skip to content

Commit 18fe91c

Browse files
2 parents b348a9f + 6c90ac4 commit 18fe91c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
[![Stargazers][stars-shield]][stars-url]
2727
[![Issues][issues-shield]][issues-url]
2828
[![MIT License][license-shield]][license-url]
29+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/suryarajendhran/change-css/Node.js%20CI?style=for-the-badge)
2930
<!-- [![LinkedIn][linkedin-shield]][linkedin-url] -->
3031

3132

@@ -120,7 +121,9 @@ The library has no dependencies, works with plain old HTML/CSS/JS.
120121
<!-- USAGE EXAMPLES -->
121122
## Usage
122123

123-
### Get a CSS Rule
124+
### Usage as an ES6 module
125+
126+
#### Get a CSS Rule
124127

125128
Use getCSSRule() to search your document's stylesheets for a [CSS Rule](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule).
126129

@@ -132,7 +135,7 @@ const CSSRule = getCSSRule('.text-base');
132135
// else returns false.
133136
```
134137

135-
### Modify a CSS Rule
138+
#### Modify a CSS Rule
136139

137140
The modifyCSSRule() function makes it easier to modify a [CSS Rule](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule) with a single function call.
138141

0 commit comments

Comments
 (0)