mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-29 11:22:14 +03:00
[pug/en] Fix style attribute syntax error (#4653)
This commit is contained in:
parent
47b3e24c00
commit
f6f88843aa
@ -84,8 +84,8 @@ div(class=meineKlasse)
|
|||||||
|
|
||||||
//- JS Stil
|
//- JS Stil
|
||||||
- const meineStile = {'color':'white', 'background-color':'blue'}
|
- const meineStile = {'color':'white', 'background-color':'blue'}
|
||||||
div(styles=meineStile)
|
div(style=meineStile)
|
||||||
//- <div styles="{"color":"white","background-color":"blue"}"></div>
|
//- <div style="color:white;background-color:blue;"></div>
|
||||||
|
|
||||||
//- JS Attributte
|
//- JS Attributte
|
||||||
- const meineAttribute = {"src": "foto.png", "alt": "meine Bilder"}
|
- const meineAttribute = {"src": "foto.png", "alt": "meine Bilder"}
|
||||||
|
@ -80,8 +80,8 @@ div(class=myClass)
|
|||||||
|
|
||||||
//- JS Styles
|
//- JS Styles
|
||||||
- const myStyles = {'color':'white', 'background-color':'blue'}
|
- const myStyles = {'color':'white', 'background-color':'blue'}
|
||||||
div(styles=myStyles)
|
div(style=myStyles)
|
||||||
//- <div styles="{"color":"white","background-color":"blue"}"></div>
|
//- <div style="color:white;background-color:blue;"></div>
|
||||||
|
|
||||||
//- JS Attributes
|
//- JS Attributes
|
||||||
- const myAttributes = {"src": "photo.png", "alt": "My Photo"}
|
- const myAttributes = {"src": "photo.png", "alt": "My Photo"}
|
||||||
|
Loading…
Reference in New Issue
Block a user