This file contains hidden or 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="filter"> | |
<ul class="filter__controls"> | |
<li class="active"><a href="#" class="btn btn-default filter__controls-link" data-filter="all">все</a></li> | |
<li><a href="#" class="btn btn-default filter__controls-link">Nan</a></li> | |
<li><a href="#" class="btn btn-default filter__controls-link" data-filter=".entry">entry</a></li> | |
<li><a href="#" class="btn btn-default filter__controls-link" data-filter=".h2">h2</a></li> | |
<li><a href="#" class="btn btn-default filter__controls-link" data-filter=".w2">w2</a></li> | |
<li><a href="#" class="btn btn-default filter__controls-link" data-filter=".w2 .h2">w2 + h2</a></li> | |
</ul> | |
<div class="grid filter__items"> |
This file contains hidden or 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
var changeColorCell = function (number) { | |
var negativeNumClass = ".negative", | |
positiveNumClass = ".positive"; | |
if (Object.is(Math.sign(parseFloat(number)), -0)) { | |
return negativeNumClass; | |
} else if (Object.is(Math.sign(parseFloat(number)), 0)) { | |
return positiveNumClass; | |
} else if (Object.is(Math.sign(parseFloat(number)), 1)) { | |
return positiveNumClass; | |
} else if (Object.is(Math.sign(parseFloat(number)), -1)) { |
This file contains hidden or 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="video" data-youtube="8z9kooDFTSE"> | |
<a class="video__play" id="video__play" href="#"> | |
<img class="img-responsive video__img" src="img/video.jpg" alt="Трейлер"> | |
</a> | |
</div> |
NewerOlder