-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dff4da7
commit aca5f4d
Showing
2 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
@import url(https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css); | ||
@import url(https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js); | ||
@import url(https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js); | ||
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css); | ||
body{ | ||
background:#eee; | ||
} | ||
|
||
.card{ | ||
border:none; | ||
|
||
position:relative; | ||
overflow:hidden; | ||
border-radius:8px; | ||
cursor:pointer; | ||
} | ||
|
||
.card:before{ | ||
|
||
content:""; | ||
position:absolute; | ||
left:0; | ||
top:0; | ||
width:4px; | ||
height:100%; | ||
background-color:#E1BEE7; | ||
transform:scaleY(1); | ||
transition:all 0.5s; | ||
transform-origin: bottom | ||
} | ||
|
||
.card:after{ | ||
|
||
content:""; | ||
position:absolute; | ||
left:0; | ||
top:0; | ||
width:4px; | ||
height:100%; | ||
background-color:#8E24AA; | ||
transform:scaleY(0); | ||
transition:all 0.5s; | ||
transform-origin: bottom | ||
} | ||
|
||
.card:hover::after{ | ||
transform:scaleY(1); | ||
} | ||
|
||
|
||
.fonts{ | ||
font-size:11px; | ||
} | ||
|
||
.social-list{ | ||
display:flex; | ||
list-style:none; | ||
justify-content:center; | ||
padding:0; | ||
} | ||
|
||
.social-list li{ | ||
padding:10px; | ||
color:#8E24AA; | ||
font-size:19px; | ||
} | ||
|
||
|
||
.buttons button:nth-child(1){ | ||
border:1px solid #8E24AA !important; | ||
color:#8E24AA; | ||
height:40px; | ||
} | ||
|
||
.buttons button:nth-child(1):hover{ | ||
border:1px solid #8E24AA !important; | ||
color:#fff; | ||
height:40px; | ||
background-color:#8E24AA; | ||
} | ||
|
||
.buttons button:nth-child(2){ | ||
border:1px solid #8E24AA !important; | ||
background-color:#8E24AA; | ||
color:#fff; | ||
height:40px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Contact card templete</title> | ||
<link rel="stylesheet" href="Contact_card.css"> | ||
</head> | ||
<body> | ||
<div class="container mt-5"> | ||
|
||
<div class="row d-flex justify-content-center"> | ||
|
||
<div class="col-md-7"> | ||
|
||
<div class="card p-3 py-4"> | ||
|
||
<div class="text-center"> | ||
<img src="https://t3.ftcdn.net/jpg/03/46/83/96/360_F_346839683_6nAPzbhpSkIpb8pmAwufkC7c5eD7wYws.jpg" width="100" class="rounded-circle"> | ||
</div> | ||
|
||
<div class="text-center mt-3"> | ||
<span class="bg-secondary p-1 px-4 rounded text-white">Pro</span> | ||
<h5 class="mt-2 mb-0">Alexender Schidmt</h5> | ||
<span>UI/UX Designer</span> | ||
|
||
<div class="px-4 mt-1"> | ||
<p class="fonts">Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p> | ||
|
||
</div> | ||
|
||
<ul class="social-list"> | ||
<li><i class="fa fa-facebook"></i></li> | ||
<li><i class="fa fa-dribbble"></i></li> | ||
<li><i class="fa fa-instagram"></i></li> | ||
<li><i class="fa fa-linkedin"></i></li> | ||
<li><i class="fa fa-google"></i></li> | ||
</ul> | ||
|
||
<div class="buttons"> | ||
|
||
<button class="btn btn-outline-primary px-4">Message</button> | ||
<button class="btn btn-primary px-4 ms-3">Contact</button> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</body> | ||
</html> |