Skip to content

Instantly share code, notes, and snippets.

View ivan-kalachikov's full-sized avatar
:octocat:
falling in love with open source

Ivan Kalachikov ivan-kalachikov

:octocat:
falling in love with open source
View GitHub Profile
.main{
min-height: calc(~"100vh - 248px");
}
$("a[href^=http]").each(
function(){
if(this.href.indexOf(location.hostname) == -1) {
$(this).attr('target', '_blank');
}
})
pointer-events: none;
@ivan-kalachikov
ivan-kalachikov / gist:6b28ded9452beeb65cfe06b0cc5fab45
Last active August 27, 2018 12:20
img analog background cover
img{
position: absolute;
top: 50%;
left: 50%;
width: auto;
height: auto;
max-height: none;
max-width: none;
min-height: 100%;
min-width: 100%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: stretch;
flex-wrap: wrap;
<link href="https://fonts.googleapis.com/css?family=Oswald:300,400" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
<div class="bottom-line clearfix">
<div class="inner clearfix">
<p class="bottom-line__copyright">Copyright 2016 JINKS LAW , All Rights Reserved</p>
<div class="bottom-line__wrap">
<a href="#" class="bottom-line__sitemap">SITE MAP</a>
<a href="#" class="bottom-line__disclaimer">DISCLAIMER</a>
<p class="bottom-line__by">Custom Web Design by: <a href="#" class="bottom-line__link"><strong>Web Loft Designs</strong></a></p>
</div>
</div>
</div>
@ivan-kalachikov
ivan-kalachikov / gist:101a113fb3f2af739da54aae977bd7ab
Created July 21, 2016 06:55
section 2 columns, right image
<div class="attorney">
<div class="inner">
<div class="attorney__cols">
<div class="attorney__col attorney__col1">
<h1 class="attorney__title">Sharis Jinks Hauder</h1>
<p class="attorney__text">
Sharis is a native Texan who was born in Houston and has committed herself to helping other Texans in need. Sharis attended Baylor University and obtained both her undergraduate and law degree in Waco and moved to Dallas to begin her law practice.
</p>
<p class="attorney__text">
Sharis has over 30 years of legal experience in personal injury and wrongful death matters. Sharis’ experience working with insurance companies brings an insight and resource not common to most other personal injury attorneys. In addition to experience in the courtroom, she is well versed in appellate law and has orally argued in various Texas Courts of Appeal. Sharis knows how to navigate through the corporate insura
<div class="navigation">
<nav class="nav">
<ul class="nav__list">
<li class="nav__item nav__item--active"><a class="nav__link" href="#">Home</a></li>
<li class="nav__item"><a class="nav__link" href="#">Practice Areas</a></li>
<li class="nav__item"><a class="nav__link" href="#">Service Areas</a></li>
<li class="nav__item"><a class="nav__link" href="#"> About Our Firm</a></li>
<li class="nav__item"><a class="nav__link" href="#">Attorneys and Staff</a></li>
<li class="nav__item"><a class="nav__link" href="#">Blog</a></li>
<li class="nav__item"><a class="nav__link" href="#">Contact</a></li>