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