Emmet Style Reflector
Reflect Emmet HTML expansion in Sass/LESS
Details
Installs
- Total 300K
- Win 249K
- Mac 34K
- Linux 17K
Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 2 | 4 | 1 | 8 | 11 | 9 | 10 | 6 | 6 | 8 | 5 | 7 | 6 | 7 | 9 | 18 | 7 | 4 | 8 | 14 | 6 | 15 | 5 | 9 | 6 | 20 | 13 | 11 | 9 | 4 | 5 | 5 | 19 | 9 | 22 | 8 | 11 | 1 | 4 | 3 | 7 | 9 | 5 | 2 |
Mac | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 |
Linux | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |
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 {
}