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
@for $i from 0 through 50 { | |
.mt-#{$i} { | |
margin-top: #{$i}px !important; | |
} | |
} | |
@for $i from 0 through 50 { | |
.mb-#{$i} { | |
margin-bottom: #{$i}px !important; | |
} | |
} |
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
([\d]+\.*[\d]+) | |
из строки "розничная цена: 154.22 грн" достанет "154.22" | |
или из строки "розничная цена: 15422 грн" достанет "15422" |
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="move-wrap"> | |
<div id="follower"></div> | |
</div> | |
<style> | |
#follower{ | |
position : relative; | |
background-color : #000; | |
width:10px; | |
height:10px; /* Размеры движущегося объекта */ |
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
.particle*400 |
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
/[^\.*+product_id=][0-9*].*/ | |
Чтоб достать id из строки '/index.php?route=product/product&product_id=1643' // Результат - '1643' |
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
<!-- Redirect --> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Redirect" stopProcessing="true"> | |
<match url=".*" /> | |
<action type="Redirect" url="http://not-found.com/" redirectType="Permanent" /> | |
</rule> | |
</rules> | |
</rewrite> |
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
<label class="file_upload"> | |
<span class="button">Choose</span> | |
<mark>The file is not selected</mark> | |
<input type="file"/> | |
</label> | |
<style> | |
// File upload inputs styles | |
.file_upload{ | |
background: #fff; |
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
<select class="required day" name="profileInputId_29412"> | |
<option value="0">Выберите день *</option> | |
<option value="1">Пятница 19-22</option> | |
<option value="2">Суббота 19-22</option> | |
</select> | |
<script> | |
document.addEventListener("DOMContentLoaded", function(){ | |
$("#sub_form").validate({ |
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
$(".date-of-birth").on("blur", function () { | |
var str = $(".date-of-birth").val(); | |
$(".date-of-birth").val(str.replace(/[^\/0-9]/g,'')); | |
}); |
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
input[type="text"]:not(:placeholder-shown) { | |
border-color: #4F4F4F; | |
} |