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
//CSS | |
.no-gutter > [class*='col-'] { | |
padding-right:0; | |
padding-left:0; | |
} | |
//HTML | |
<div class="row no-gutter"> | |
<div class="col-md-4"> | |
... |
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
// Polylang Shortcode - https://wordpress.org/plugins/polylang/ | |
// Add this code in your functions.php | |
// Put shortcode [polylang] to post/page for display flags | |
function polylang_shortcode() { | |
ob_start(); | |
pll_the_languages(array('show_flags'=>1,'show_names'=>0)); | |
$flags = ob_get_clean(); | |
return $flags; | |
} |
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
<script> | |
var libraryLetter = ["book", "car", "bank", "near", "between", "map", "dog"]; | |
var userLetter = prompt("Укажите слово"); | |
function inArray(arr, str) { | |
return arr.filter(function(item) { | |
return item.indexOf(str) !== -1 | |
}) | |
} |
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="products-row clearfix"> | |
<div class="col-md-3 col-sm-6 col1 cell">и тут мало Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi recusandae, odio maxime numquam eum suscipit!</div> | |
<div class="col-md-3 col-sm-6 col2 cell">тут мало Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos quidem dolores nihil nostrum officiis quos praesentium iure eius dolorum, eos tempore repudiandae quae deleniti, ullam in labore. Earum totam dignissimos repudiandae expedita dicta consequatur cum, perferendis cumque nostrum at corporis explicabo unde aspernatur eaque consectetur assumenda nobis quasi quis, hic commodi saepe, fugiat impedit? Nam.</div> | |
<div class="col-md-3 col-sm-6 col3 cell">тут очень много</div> | |
<div class="col-md-3 col-sm-6 col4 cell">тут мало содержимого</div> | |
</div> | |
--------------------- | |
.products-row { | |
width: 100%; | |
margin: 0 auto; |
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="strike"> | |
<span>Hello World</span> | |
</div> | |
.strike { | |
display: block; | |
text-align: center; | |
overflow: hidden; | |
white-space: nowrap; | |
} |