File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 27
27
background-color : var (--color-gray-200 );
28
28
}
29
29
30
+ .bg-dark .card [card-link ]: focus-within ,
31
+ .bg-dark .card [card-link ]: hover {
32
+ background-color : var (--color-gray-800 );
33
+ }
34
+
30
35
.card__image {
31
36
display : block;
32
37
max-width : 64px ;
Original file line number Diff line number Diff line change @@ -109,6 +109,21 @@ But if you would like the whole card to become interactive and act as a link you
109
109
</ul >
110
110
```
111
111
112
+ Here is what that looks like on a dark background
113
+
114
+ ``` html
115
+ <div class =" bg-dark" >
116
+ <ul class =" list-unstyled layout" >
117
+ <EsCard class =" lg:col-3" @image =" /images/icons/mic-icon.svg" card-link >
118
+ <h3 >
119
+ <a href =" http://discuss.emberjs.com" >Discussion Forum</a >
120
+ </h3 >
121
+ <p >Post and search longer-form questions in our public forum.</p >
122
+ </EsCard >
123
+ </ul >
124
+ </div >
125
+ ```
126
+
112
127
And here is a full card based page layout that might be useful when building sites using this component:
113
128
114
129
``` html
You can’t perform that action at this time.
0 commit comments