Skip to content

Instantly share code, notes, and snippets.

@MohammadTaseenKhan
Created September 6, 2022 17:06
Show Gist options
  • Save MohammadTaseenKhan/645ccd6cac883d52d38ddba4dae0d16c to your computer and use it in GitHub Desktop.
Save MohammadTaseenKhan/645ccd6cac883d52d38ddba4dae0d16c to your computer and use it in GitHub Desktop.
My Link Tree
<div class="flex items-center justify-center main__container">
<div class="flex flex-auto flex-column justify-center main__inner">
<div class="flex justify-center image__container">
<img class="circle" width="124" height="124" src="#" alt="">
</div>
<div class="flex flex-column justify-center">
<h1 class="center mb1">MD Taseen Khan</h1>
<p class="center">Student And A Developer</p>
</div>
<div class="flex flex-column relative main__btn-container">
<div class="flex social-media__container justify-center">
<div class="flex justify-between social-media__wrapper">
<a href="https://www.facebook.com/MDTaseenKhanBD/" target="_blank" class="flex justify-center items-center social-media circle p2 social-media--facebook">
<i class="fab fa-facebook"></i>
</a>
<a href="https://twitter.com/MDTaseenKhan" target="_blank" class="flex justify-center items-center social-media circle p2 social-media--twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.messenger.com/MDTAseenKhanBD/" target="_blank" class="flex justify-center items-center social-media circle p2 social-media--link">
<i class="fab fa-facebook-messenger"></i>
</a>
</div>
</div>
<a target="_blank" href="https://www.discordapp.com/users/895580791013244978" class="btn filled-btn">Upload on Discord</button></a>
<a href="https://m.me/MDTaseenKhanBD" target="_blank" class="btn stroke-btn">Upload On Messenger</a>
<a href="mailto:khanmdtaseen@gmail.com?&subject=&cc=&bcc=&body=https://files-server.vercel.app/%0AFile%20Name:%0AFile%20Info:%0AFile%20Tag:" target="_blank" class="btn stroke-btn">Mail Your Document</a>
</div>
</div>
</div>
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
a {
text-decoration: none;
}
/* \reset */
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #393E46;
background: url('https://images.unsplash.com/photo-1613427924240-1635577f2c32?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=2134&q=80');
background-size: cover;
}
.main__container {
width: 414px;
height: 100vh;
}
.main__inner {
height: 100%;
}
.main__btn-container {
border-radius: 40px 40px 0 0;
background-color: @color1darker;
flex: auto;
max-width: 414px;
justify-self: stretch;
padding: 36px;
padding-top: 64px;
margin-top: 64px;
box-sizing: border-box;
height: 500px
}
h1, p {
color: #fff;
font-family: Roboto, sans-serif;
}
h1 {
font-size: 16px;
font-weight: bold;
}
p {
font-size: 14px;
}
@color1: #1B1F23;
@color1darker: #1A1E23;
@color2: #393E46;
@color3: #DD3C4B;
@color3darker: #BD2836;
@color4: #EEEEEE;
.btn {
border: none;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 22px;
font-weight: bold;
font-family: Roboto, sans-serif;
height: 50px;
margin-top: 24px;
transition: .2s ease-in;
outline: none;
}
.filled-btn {
background-color: @color3;
color: #fff;
&:hover {
background-color: @color3darker;
}
&:active {
background-color: @color3darker;
}
}
.stroke-btn {
background-color: @color1;
border: solid 1px @color3;
color: @color3;
&:hover {
background-color: @color1darker;
border-color: @color3darker;
color: @color3darker;
}
&:active {
background-color: @color1darker;
border-color: @color3darker;
color: @color3darker;
}
}
.social-media__container {
position: absolute;
top: -30px;
left: 0;
width: 100%;
}
.social-media__wrapper {
width: 248px;
margin: 0 36px;
}
.image__container {
margin-top: 40px;
margin-bottom: 20px;
}
.social-media {
color: #fff;
width: 32px;
height: 32px;
font-size: 32px;
cursor: pointer;
transition: .2s ease-in;
&--github {
background-color: #0D1216;
&:hover {
background-color: #05080B;
}
&:active {
background-color: #05080B;
}
}
&--instagram {
background-color: #C13584;
&:hover {
background-color: #A8246F;
}
&:active {
background-color: #A8246F;
}
}
&--linkedin {
background-color: #0084bf;
&:hover {
background-color: #006A99;
}
&:active {
background-color: #006A99;
}
}
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/basscss/8.1.0/css/basscss.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment