File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,16 +39,25 @@ <h1 class="portfolio__title">RadonCoding</h1>
3939 >
4040 </ div >
4141 < nav class ="portfolio__contacts ">
42- < a class ="portfolio__contact " href ="https://github.com/RadonCoding ">
42+ < a
43+ class ="portfolio__contact "
44+ href ="https://github.com/RadonCoding "
45+ aria-label ="Open GitHub "
46+ >
4347 < i class ="bi bi-github "> </ i >
44- < span class ="portfolio__contact-content "> Open GitHub</ span >
48+ < span class ="portfolio__contact-content " aria-hidden ="true "
49+ > Open GitHub</ span
50+ >
4551 </ a >
4652 < a
4753 class ="portfolio__contact portfolio__contact--copy "
4854 data-copy ="radonreborn "
55+ aria-label ="Copy Username "
4956 >
5057 < i class ="bi bi-discord "> </ i >
51- < span class ="portfolio__contact-content "> Copy Username</ span >
58+ < span class ="portfolio__contact-content " aria-hidden ="true "
59+ > Copy Username</ span
60+ >
5261 </ a >
5362 </ nav >
5463 </ section >
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ section {
245245 cursor : pointer;
246246 text-decoration : none;
247247 container-type : size;
248+ overflow : visible;
248249 transition : all 0.2s ease-in-out;
249250}
250251
@@ -272,11 +273,17 @@ section {
272273 border-radius : var (--rounded-xs );
273274 white-space : nowrap;
274275 opacity : 0 ;
275- transform : translateX (-50% );
276+ visibility : hidden;
277+ transform : translateX (-50% ) translateY (var (--space-3xs ));
278+ transition : all 0.2s ease-in-out;
279+ pointer-events : none;
276280}
277281
278- .portfolio__contact : hover .portfolio__contact-content {
282+ .portfolio__contact : hover .portfolio__contact-content ,
283+ .portfolio__contact : focus .portfolio__contact-content {
279284 opacity : 1 ;
285+ visibility : visible;
286+ transform : translateX (-50% ) translateY (0 );
280287}
281288
282289.portfolio__contact--copy : active {
You can’t perform that action at this time.
0 commit comments