File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313 < section class ="profile ">
1414 < img src ="images/photoofme.jpeg " alt ="Profile photo " class ="avatar ">
15- < button onclick ="copyText() "> Copy Email</ button >
16- < script >
15+ < button class =" cta-button " onclick ="copyText() "> Copy Email</ button >
16+ < script >
1717 function copyText ( ) {
18-
19-
20- navigator . clipboard . writeText
21- ( "r0hanmodi11111@gmail.com" ) ;
18+ navigator . clipboard . writeText ( "r0hanmodi11111@gmail.com" ) ;
2219 }
23- </ script >
20+ </ script >
2421 < h1 > Rohan Modi</ h1 >
2522 < p class ="subtitleiguess "> High School Student • Developer</ p >
2623
Original file line number Diff line number Diff line change 6969 transform : translateY (-2px );
7070 text-decoration : none;
7171}
72+ .cta-button {
73+ margin : 16px 0 ;
74+ padding : 12px 20px ;
75+ border : none;
76+ border-radius : 12px ;
77+ background : # 000000 ;
78+ color : # ffffff ;
79+ font-weight : 600 ;
80+ font-size : 1rem ;
81+ cursor : pointer;
82+ box-shadow : 0 8px 20px rgba (0 , 0 , 0 , 0.12 );
83+ transition : transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
84+ display : inline-flex;
85+ align-items : center;
86+ justify-content : center;
87+ }
88+ .cta-button : hover {
89+ transform : translateY (-4px );
90+ box-shadow : 0 14px 28px rgba (0 , 0 , 0 , 0.16 );
91+ background : # 111111 ;
92+ }
7293.card {
7394 display : flex;
7495 align-items : left;
You can’t perform that action at this time.
0 commit comments