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