@@ -74,21 +74,17 @@ <h4 class="f4 mv0 fw6 dib mr4">tachyons-hovers</h4>
7474 </ dl >
7575 </ div >
7676 < 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.
8179 </ p >
8280 </ article >
8381 < div class ="ph3 ph5-ns pt4 pb5 ">
8482 < h2 class ="f3 bold "> Examples</ h2 >
8583 < h3 class ="f5 book pt4 caps "> Dim Text</ h3 >
8684 < p >
8785 < 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 >
9288 </ p >
9389 < h3 class ="f5 book pt4 caps "> Dim Card</ h3 >
9490 < p >
@@ -105,6 +101,12 @@ <h3 class="f5 book pt4 caps">Add pointer on hover</h3>
105101 < div href ="# " class ="link dim black mw5 dt hide-child ba b--black-20 pa4 br2 pointer ">
106102 Add pointer on hover to element.
107103 </ 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 >
108110 < div class ="mt5 cf ">
109111 < div class ="dib mr4 ">
110112 < h1 class ="f4 ttu tracked fw6 "> Previous</ h1 >
0 commit comments