Emmet Style Reflector
Reflect Emmet HTML expansion in Sass/LESS
Details
Installs
- Total 298K
- Win 248K
- Mac 34K
- Linux 17K
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 4 | 5 | 5 | 10 | 14 | 7 | 13 | 20 | 7 | 10 | 5 | 13 | 14 | 12 | 13 | 9 | 12 | 10 | 5 | 5 | 2 | 1 | 5 | 4 | 6 | 13 | 8 | 4 | 14 | 6 | 3 | 15 | 10 | 9 | 9 | 12 | 11 | 13 | 16 | 10 | 11 | 15 | 5 | 5 | 8 |
Mac | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 3 | 1 | 2 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 3 | 1 | 2 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
Linux | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
emmet-style-reflector
Dependency
Obviously, Emmet
Description
Reflect Emmet HTML expansion in Sass/LESS
How to use
Changelogs
v1.0.2
- tag without class and id will have “>”
Expansions tested
- Child:
#first>ul>li
#first {
>ul {
>li {
}
}
}
- Sibling:
div+p+blockquote
>div {
}
>p {
}
>blockquote {
}
- Climb-up:
#first+#second>p>span+em^blockquote
#first {
}
#second {
>p {
>span {
}
>em {
}
}
>blockquote {
}
}
- Grouping:
#first>(header>ul>li*2>a)+footer>p
#first {
header {
>ul {
>li {
>a {
}
}
}
}
footer {
>p {
}
}
}
- Video demo:
header>(ul#menu>li*5>a)^div#home>div.rensponsive960>div.box>div.title+div.body
header {
#menu {
>li {
>a {
}
}
}
}
#home {
.rensponsive960 {
.box {
.title {
}
.body {
}
}
}
}
- Extreme:
#first>(header[title="Hello world!"]>ul#menu>li.menuItem$@-*5>a)+footer{bla bla bla}^script
#first {
header {
#menu {
.menuItem {
>a {
}
}
}
}
footer {
}
}
script {
}