Eliminate the need to write :host ::content instead of just ::content, while keeping the same processing under the hood

This commit is contained in:
Nazar Mokrynskyi
2015-09-06 01:01:31 +02:00
parent 4a9ef8e96d
commit d9f3dda973
2 changed files with 5 additions and 6 deletions

View File

@@ -200,7 +200,7 @@
box-sizing: border-box;
}
:host ::content .add3 {
::content .add3 {
box-sizing: border-box;
height: 20px;
background: #333;
@@ -240,7 +240,7 @@
padding: 4px;
}
:host ::content .add2 {
::content .add2 {
box-sizing: border-box;
height: 20px;
background: gray;
@@ -281,7 +281,7 @@
padding: 4px;
}
:host ::content .add1 {
::content .add1 {
box-sizing: border-box;
height: 20px;
background: lightgray;