My Business Card
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
.cmrc {
cursor: pointer;
text-align: left;
font-size: 4em;
font-weight: 900;
display: block;
position: absolute;
margin:35px 10px 0 auto;
color:#08fdd8;
font-family: 'Pacifico', cursive;
-webkit-animation: neon1 1.5s ease-in-out infinite alternate;
-moz-animation: neon1 1.5s ease-in-out infinite alternate;
animation: neon1 1.5s ease-in-out infinite alternate;
}
.cmrc:hover {
color: #BA01FF;
-webkit-animation: neon2 1.5s ease-in-out infinite alternate;
-moz-animation: neon2 1.5s ease-in-out infinite alternate;
animation: neon2 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #228DFF, 0 0 70px #228DFF, 0 0 80px #228DFF, 0 0 100px #228DFF, 0 0 150px #228DFF;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #228DFF, 0 0 35px #228DFF, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #228DFF;
}
}
@keyframes neon2 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00de, 0 0 35px #ff00de, 0 0 40px #ff00de, 0 0 50px #ff00de, 0 0 75px #ff00de;
}
}
@media (max-width: 650px) {
.cmrc {
font-size: 2.5em;
margin: 10px 10px 0 auto;
}
}
#cls {
position:relative;
display: inline-block;
padding: 10px 50px;
font-weight: bold;
white-space: normal;
width: 250px;
margin-left: auto;
margin-right: auto;
}
#avlb {
position:relative;
display: inline-block;
padding: 10px 50px;
font-weight: bold;
white-space: normal;
width: 250px;
margin-left: auto;
margin-right: auto;
}
.content {
margin: 50px auto;
}
.fa-bars {
color:#08fdd8!important;
}
.btn:hover .fa-bars {
color:black!important;
}
.fa {
color: #333;
}
a:hover .fa {
color: #08fdd8;
-webkit-animation:spin 1.5s ;
-moz-animation:spin 1.5s ;
animation:spin 1.5s ;
}
@-moz-keyframes spin { 40% { -moz-transform: rotate(60deg); } }
@-webkit-keyframes spin { 40% { -webkit-transform: rotate(60deg); } }
@keyframes spin { 40% { -webkit-transform: rotate(60deg); transform:rotate(60deg); } }
.container {
width: 100%;
height: 100%;
left:0;
top:0;
position: absolute;
overflow: hidden;
background-size: cover;
background-repeat: repeat;
background-attachment: fixed;
background-position: left;
background-image: url("https://d29i1yqmtf7te0.cloudfront.net/upload/a9d31cf8-c1df-4a1d-b431-3436ef47f5f9/photo144131195616078a471e0638d.jpg");
}
.btn {
border:2px solid #08fdd8;
color: #08fdd8;
background-color: transparent;
position: absolute;
overflow: hidden;
}
.btn:hover {
border:2px solid #08fdd8;
color: #333;
background-color: #08fdd8;
}
.btn#btnPopover {
border:2px solid #08fdd8;
color: #08fdd8;
background-color: transparent;
position: absolute;
left: 85%;
top:10%;
overflow: hidden;
white-space: normal;
word-wrap: break-word;
}
.btn#btnPopover:hover {
border: none;
color: #333;
background-color: #08fdd8;
}
ul.menu {
list-style-type: none;
margin: 0;
padding: 0;
}
li.but1 {
display: block;
padding:0;
border-bottom: 1px solid #dddfe2;
}
.popover-content {
text-align: center;
width:100%;
padding: 0;
overflow: auto;
}
a:hover {
text-decoration: none;
}
li a {
display: block;
color: #000;
width: 100%;
padding: 8px 16px;
text-decoration: none;
}
li a.active {
background-color: #4CAF50;
color: white;
}
li a:hover:not(.active) {
background-color: #555;
color: white;
}
.notification:after {
font-weight: bold;
cursor:pointer;
color: white;
content: '1';
display: inline-block;
position: absolute;
top: 9%;
right: 7%;
width: 2em;
margin: 1%;
border-radius: 50%;
font-size: 0.75em;
line-height: 2;
text-align: center;
background: #f53d3d;
box-shadow: 0 0 0 0.25em #c20a0a;
animation: pulse 0.75s infinite;
z-index: 99;
}
.notification1:after {
font-weight: bold;
cursor:pointer;
color: white;
content: '1';
display: block;
position: absolute;
top: 30px;
right: 1.3333em;
width: 2em;
margin: 1.0833em 0;
border-radius: 50%;
font-size: 0.75em;
line-height: 2;
text-align: center;
background: #f53d3d;
box-shadow: 0 0 0 0.25em #c20a0a;
animation: pulse 0.75s infinite;
}
@-webkit-keyframes pulse {
0% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
25% {
box-shadow: 0 0 0 0.05em #c20a0a;
}
50% {
box-shadow: 0 0 0 0.375em #c20a0a;
}
75% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
100% {
box-shadow: 0 0 0 0.3em #c20a0a;
}
}
@-moz-keyframes pulse {
0% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
25% {
box-shadow: 0 0 0 0.05em #c20a0a;
}
50% {
box-shadow: 0 0 0 0.375em #c20a0a;
}
75% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
100% {
box-shadow: 0 0 0 0.3em #c20a0a;
}
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
25% {
box-shadow: 0 0 0 0.05em #c20a0a;
}
50% {
box-shadow: 0 0 0 0.375em #c20a0a;
}
75% {
box-shadow: 0 0 0 0.2em #c20a0a;
}
100% {
box-shadow: 0 0 0 0.3em #c20a0a;
}
}
.myimg {
margin: auto;
display:block;
width: 200px;
border-radius: 50%;
border: 2px solid #08fdd8;
}
.name {
text-align:center;
color: white;
}
.ko {
text-align:center;
color: white;
}
img:hover {
border: 2px white solid;
}
footer {
color: white;
text-align: center;
}
a {
color: orange;
}
#modop {
top: 350px;
left: 40%;
}
#contact-form {
max-width: 90%;
margin: 0 auto;
}
label {
font-weight: 400;
cursor: pointer;
}
textarea,
input {
border: none;
outline: none;
border-radius: 0;
text-align: center;
background: none;
font-weight: 700;
font-family: 'Lato', georgia;
font-size: 25px;
color: rgba(255, 255, 255, 1);
max-width: 90%;
padding: 1rem;
border: 2px dashed rgba(255, 255, 255, 0);
box-sizing: border-box;
cursor: text;
}
textarea {
text-align: left;
/* overflow:hidden; */
resize: none;
width: 90%;
border-color: rgba(255, 255, 255, 0)
}
textarea:focus {
background-color: rgba(255, 255, 255, 0.2);
border: 2px dashed rgba(255, 255, 255, 1);
}
textarea:focus:required:valid {
border: 2px solid rgba(255, 255, 255, 0);
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
textarea:required:valid {
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
input {
border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}
input:required,
textarea:required {
border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}
input:focus {
border-bottom: 2px dashed rgba(255, 255, 255, 1);
background-color: rgba(255, 255, 255, 0.2);
}
input:required:valid {
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
input:required:invalid {
color: rgba(255, 255, 255, 0.5);
}
::-webkit-input-placeholder {
text-align: center;
color: rgba(255, 255, 255, 0.4);
font-style: italic;
font-weight: 400;
}
:-moz-placeholder {
/* Firefox 18- */
text-align: center;
color: rgba(255, 255, 255, 0.4);
font-style: italic;
font-weight: 400;
}
::-moz-placeholder {
/* Firefox 19+ */
text-align: center;
color: rgba(255, 255, 255, 0.4);
font-style: italic;
font-weight: 400;
}
:-ms-input-placeholder {
text-align: center;
color: rgba(255, 255, 255, 0.4);
font-style: italic;
font-weight: 400;
}
.expanding {
vertical-align: top;
}
.send-icn {
fill: rgba(255, 255, 255, 1)
}
.send-icn:hover {
fill: rgba(0, 0, 0, 1);
cursor: pointer;
}
button {
background: none;
border: none;
outline: none;
margin: 2vmax;
}
button:hover small {
opacity: 1;
}
small {
display: block;
opacity: 0;
}
#loginModal {
font-family: 'Lato', georgia;
font-size: 25px;
color: rgba(255, 255, 255, 1);
background-color: rgba(236, 181, 62, 0.95);
text-align: center;
font-weight: 300;
-webkit-font-smoothing: antialiased;
background-size: cover;
background-repeat: repeat;
background-attachment: fixed;
background-position: left;
background-image: url("https://images.unsplash.com/photo-1497091071254-cc9b2ba7c48a?dpr=1&auto=compress,format&fit=crop&w=753&h=&q=80&cs=tinysrgb&crop=");
}
small {
font-size: 12px;
}
.avail {
width: 32px;
}
footer {
padding-top: 40px;
}
$(document).ready(function () {
$('#btnPopover').popover({html:true});
});
$(document).ready(function(){
$('#btnPopover').click(function(){
$('.notification').hide();
});
});
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<div class="container">
<div class="notification">
</div>
<button class="btn btn-primary btn-responsive" id="btnPopover" title="<strong>FIND ME ON MY LINKS</strong>"
data-content= "<ul class='menu'>
<li class='but1'><div class='notification1'><a href='http://www.doyoubuzz.com/harun-pehlivan' target='_blank'><i class='fa fa-link fa-2x' ></i></a></li></div>
<li class='but1'><a href='https://www.facebook.com/profile.php?id=100008152065270' target='_blank'><i class='fa fa-facebook fa-2x' ></i></a></li>
<li class='but1'><a href='https://www.instagram.com/harunpehlivantebimtebitagem/' target='_blank'><i class='fa fa-instagram fa-2x' ></i></a></li>
<li class='but1'><a href='https://www.linkedin.com/in/harun-pehlivan-0aa34252/' target='_blank'><i class='fa fa-linkedin fa-2x' ></i></a></li>
<li class='but1'><a href='https://github.com/harunpehlivan' target='_blank'><i class='fa fa-github fa-2x' ></i></a></li>
<li class='but1'><a href='https://codepen.io/harunpehlivan' target='_blank'><i class='fa fa-codepen fa-2x' ></i></a></li>
</ul>"
data-placement="left"
data-toggle="popover"
data-animation="boolean"
data-trigger="focus">
<strong> <i class="fa fa-bars fa-3x" aria-hidden="true"></i></strong>
</button>
<p class="cmrc">HP IT GROUP</p>
<div class="content"><img class="myimg img-responsive" src="http://www.doyoubuzz.com/var/users/_/2016/11/15/18/1300826/avatar/1253797/avatar_cp_630.jpg?t=1508690340"><h2 class="name">HARUN PEHLİVAN<a href="https://harunpehlivantebimtebitagem.carrd.co" target="_blank"> FOUNDER,CEO BLOGGER</h2>
<h3 class="ko">2008 TEBİM 2012 TEBİTAGEM</h3>
</div>
<p align="center"><button id="avlb" class="btn btn-primary btn-sm btn-responsive" data-target="#loginModal" data-toggle="modal">CHECK AVAILABILITY</button></p>
<div id="loginModal" class="modal fade" tabindex="-1" data-keyboard="false" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-dialog">
<div class="modal-header">
<h2 class="modal-title" style="text-align: center;"> AVAILABLE <img class="avail" src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU1IDU1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1NSA1NTsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTJweCIgaGVpZ2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IyMiIgaGVpZ2h0PSIyMiIvPgoJCTxyZWN0IHg9IjQyLjUiIHk9IjM0LjU4NiIgc3R5bGU9ImZpbGw6I0ZGRkZGRjsiIHdpZHRoPSIyIiBoZWlnaHQ9IjE2Ii8+CgkJPHBvbHlnb24gc3R5bGU9ImZpbGw6I0ZGRkZGRjsiIHBvaW50cz0iNDMuNSw1MiAzNi41LDQ1LjI5MyAzNy45NzYsNDMuODc5IDQzLjUsNDkuMTcyIDQ5LjAyNCw0My44NzkgNTAuNSw0NS4yOTMgICAiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" /></h2>
<button class="close" type="button" data-dismiss="modal">
X
</button>
</div>
<div class="modal-body">
<form id="contact-form">
<p>Dear Todor,</p>
<p>My
<label for="your-name">name</label> is
<input type="text" name="your-name" id="your-name" minlength="3" placeholder="(your name here)" required> and</p>
<p>my
<label for="email">email address</label> is
<input type="email" name="your-email" id="email" placeholder="(your email address)" required>
</p>
<p> I have a
<label for="your-message">message</label> for you,</p>
<p>
<textarea name="your-message" id="your-message" placeholder="(your msg here)" class="expanding" required></textarea>
</p>
<p>
<button type="submit">
<svg version="1.1" class="send-icn" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px" height="36px" viewBox="0 0 100 36" enable-background="new 0 0 100 36" xml:space="preserve">
<path d="M100,0L100,0 M23.8,7.1L100,0L40.9,36l-4.7-7.5L22,34.8l-4-11L0,30.5L16.4,8.7l5.4,15L23,7L23.8,7.1z M16.8,20.4l-1.5-4.3
l-5.1,6.7L16.8,20.4z M34.4,25.4l-8.1-13.1L25,29.6L34.4,25.4z M35.2,13.2l8.1,13.1L70,9.9L35.2,13.2z" />
</svg>
<small>send</small>
</button>
</p>
</form>
</div>
<div class="modal-footer">
<p align="center"><button id="cls" class="btn btn-primary" type="button" data-dismiss="modal">Close</button></p></div>
</div>
</div>
</div>
<footer>coded by: <a href="https://about.me/harun.pehlivan">HP</a></footer>