Skip to content

Commit f0acdee

Browse files
committed
Added button
1 parent 7d620be commit f0acdee

File tree

2 files changed

+64
-3
lines changed

2 files changed

+64
-3
lines changed

index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</head>
2020

2121
<body>
22-
22+
2323
<!-- this is a comment. You will not see this on the web -->
2424
<!-- div creates a wrapper for our layout -->
2525
<!-- class is an attribute to name our div -->
@@ -31,7 +31,8 @@ <h1 class ="animate-charcter"> Full Stack Tambay</h1>
3131
<p>I am Carlos a professional lazy person. </p>
3232

3333
<img src="images/cee.png" id="profile" >
34-
<a href="mailto:[email protected]" class ="btn btn-success btn-lg mt-3" > Lets Work</a>
34+
<br>
35+
<a href="mailto:[email protected]"class="button-64" role="button"><span class="text">Lets Work!</span></a>
3536
</section>
3637

3738
</div>

style.css

+61-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ h1, p {
1414
font-family: "Montserrat", sans-serif;
1515
}
1616

17+
p{
18+
font-size: 19px;
19+
}
20+
1721
#profile{
1822
height: 190px ;
1923
width: 200px;
@@ -26,6 +30,7 @@ body{
2630
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cg %3E%3Ccircle fill='%23000000' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%23230046' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%232f0052' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%233b075e' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%2348156a' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%23552277' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
2731
background-attachment: fixed;
2832
background-size: cover;
33+
2934
}
3035

3136
#landing{
@@ -67,4 +72,59 @@ body{
6772
to {
6873
background-position: 200% center;
6974
}
70-
}
75+
}
76+
77+
a:visited{
78+
text-decoration: none;
79+
}
80+
81+
82+
.button-64 {
83+
align-items: center;
84+
background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
85+
border: 0;
86+
border-radius: 8px;
87+
box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
88+
box-sizing: border-box;
89+
color: #FFFFFF;
90+
display: flex;
91+
font-family: Roboto, sans-serif;
92+
font-size: 20px;
93+
justify-content: center;
94+
line-height: 1em;
95+
max-width: 100%;
96+
min-width: 140px;
97+
padding: 3px;
98+
text-decoration: none;
99+
user-select: none;
100+
-webkit-user-select: none;
101+
touch-action: manipulation;
102+
white-space: nowrap;
103+
cursor: pointer;
104+
}
105+
106+
.button-64:active,
107+
.button-64:hover {
108+
outline: 0;
109+
}
110+
111+
.button-64 span {
112+
background-color: rgb(5, 6, 45);
113+
padding: 16px 24px;
114+
border-radius: 6px;
115+
width: 100%;
116+
height: 100%;
117+
transition: 300ms;
118+
}
119+
120+
.button-64:hover span {
121+
background: none;
122+
}
123+
124+
@media (min-width: 768px) {
125+
.button-64 {
126+
font-size: 24px;
127+
min-width: 196px;
128+
}
129+
}
130+

0 commit comments

Comments
 (0)