Retitle snippets
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: injectCSS
|
||||
title: Inject CSS
|
||||
tags: browser,css,intermediate
|
||||
firstSeen: 2020-10-15T22:18:00+03:00
|
||||
lastUpdated: 2020-10-22T20:23:47+03:00
|
||||
@ -23,6 +23,6 @@ const injectCSS = css => {
|
||||
```
|
||||
|
||||
```js
|
||||
injectCSS('body { background-color: #000 }');
|
||||
injectCSS('body { background-color: #000 }');
|
||||
// '<style type="text/css">body { background-color: #000 }</style>'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user