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
<div class="wrapper"> | |
<a href="#!" class="btn">hover me | |
<svg> | |
<rect></rect> | |
</svg> | |
</a> | |
</div> | |
*{ | |
padding: 0; |
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
$(function(){ | |
var navMain = $(".navbar-collapse"); | |
navMain.on("click", "a:not([data-toggle])", null, function () { | |
navMain.collapse('hide'); | |
}); | |
}); |
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
<a href="http://www.youtube.com/embed/JMJXvsCLu6s" target="_blank" onclick="window.open(this.href, '', 'width='+screen.availWidth/2+',height='+screen.availHeight/2+',top='+screen.availHeight/4+',left='+screen.availWidth/4); return false;"> <i class="far fa-file-video white-text"></i> </a> | |
OR | |
<div id="play"></div> | |
<div id="playYoutube1">воспроизведение</div> | |
<div id="pauseYoutube1">пауза</div> | |
<script src="//www.youtube.com/player_api"></script> | |
<script> |
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
$colors: $font-color, $active-link | |
@for $i from 1 through length($colors) | |
section:nth-child(#{length($colors)}n+#{$i}) | |
background-color: nth($colors, $i) |
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
animation: animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction; | |
animation-name: name | |
animation-duration: 2s/2ms | |
animation-timing-function: ease, linear, ease-in, ease-out, ease-in-out, cubic-bezier(x1, y1, x2, y2), step-start, step-end, | |
steps(количество шагов,start|end) | |
animation-delay: 2s/2ms | |
animation-iteration-count: infinite, число раз повтор | |
animation-direction: alternate(↨), alternate-reverse(↨↨), normal(↑), reverse(↓) | |
animation-play-state: paused, running |
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
Вкладки формы: | |
[ | |
{"caption":"Tab Title", "fields": [ | |
{"field":"1sectH3","caption":"1sectH3"}, | |
{"field":"1sectP","caption":"1sectP"}, | |
{"field":"image","caption":"Image","inputTVtype":"image"} | |
]} | |
] | |
Разметка колонок: |
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
.объект | |
position: relative | |
.объект:after | |
display: block | |
position: absolute | |
left: 0 | |
bottom: -10px | |
width: 0 | |
height: 10px | |
background-color: #980044 |
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
echo "# название" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/stanruss/название.git | |
git push -u origin master | |
git log --oneline - посмотреть все коммиты. | |
git checkout . - восстановить все. | |
git checkout "код коммита" - вернуть до состояния этого коммита. |
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
[[pdoResources? &parents=`0` &tpl=`servtpl` &limit=`3` &resources=`22,27,25` &sortdir=`asc` &includeTVs=`images`]] |
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
(function ($) { | |
$.fn.equalHeight = function () { | |
var tallest = 0; | |
this.each(function () { | |
var thisHeight = $(this).height(); | |
if (thisHeight > tallest) { | |
tallest = thisHeight; | |
} | |
}); |
NewerOlder