@@ -74,21 +74,17 @@ <h4 class="f4 mv0 fw6 dib mr4">tachyons-hovers</h4>
74
74
</ dl >
75
75
</ div >
76
76
< p class ="measure f3 lh-copy ">
77
- There are two classes for adding hover effects to elements. One dims
78
- an element on hover, the other will hide children within an element on hover.
79
- The dim class can be used on links of any color to give visual affordance to
80
- users that something can be interacted with.
77
+ There are several classes for adding hover effects to elements.
78
+ Hover effects can be used to give visual affordance to the user that an element can be interacted with.
81
79
</ p >
82
80
</ article >
83
81
< div class ="ph3 ph5-ns pt4 pb5 ">
84
82
< h2 class ="f3 bold "> Examples</ h2 >
85
83
< h3 class ="f5 book pt4 caps "> Dim Text</ h3 >
86
84
< p >
87
85
< a href ="# " class ="f3 b db dim link pv1 black "> This link will dim on hover</ a >
88
- < a href ="# " class ="f3 b db dim link pv1 gray "> This link will dim on hover</ a >
89
- < a href ="# " class ="f3 b db dim link pv1 blue "> This link will dim on hover</ a >
90
- < a href ="# " class ="f3 b db dim link pv1 dark-blue "> This link will dim on hover</ a >
91
- < a href ="# " class ="f3 b db dim link pv1 darkest-blue "> This link will dim on hover</ a >
86
+ < a href ="# " class ="f3 b db dim link pv1 black-80 "> This link will dim on hover</ a >
87
+ < a href ="# " class ="f3 b db dim link pv1 black-60 "> This link will dim on hover</ a >
92
88
</ p >
93
89
< h3 class ="f5 book pt4 caps "> Dim Card</ h3 >
94
90
< p >
@@ -105,6 +101,12 @@ <h3 class="f5 book pt4 caps">Add pointer on hover</h3>
105
101
< div href ="# " class ="link dim black mw5 dt hide-child ba b--black-20 pa4 br2 pointer ">
106
102
Add pointer on hover to element.
107
103
</ div >
104
+ < h3 class ="f5 book pt4 caps "> Grow on Hover</ h3 >
105
+ < a class ="w5 mw5 dt grow link " href ="# " style ="background: black url(/img/1.jpg); background-size: cover; ">
106
+ < span class ="white-90 underline f5 f3-ns b ttu dtc v-mid w-100 h-100 pa3 pa5-ns br2 ">
107
+ Portfolio Project #11
108
+ </ span >
109
+ </ a >
108
110
< div class ="mt5 cf ">
109
111
< div class ="dib mr4 ">
110
112
< h1 class ="f4 ttu tracked fw6 "> Previous</ h1 >
0 commit comments