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
:before { | |
content: ""; | |
position: absolute; | |
top: 50%; | |
left: 0; | |
transform: translateY(-50%); | |
font-family: FontAwesome; | |
content: "\f000"; | |
display: inline-block; | |
} |
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
ul { | |
list-style: none; | |
} | |
ul li { | |
position: relative; | |
} | |
ul li:before { | |
content: ""; | |
position: absolute; | |
top: 50%; |
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
/* Originally from: https://codepen.io/MadeByMike/pen/ZyxwLm/ */ | |
:root { | |
--row-display: block; | |
--row-display: flex; | |
--col-basis: 100%; | |
} | |
@media (min-width: 800px) { | |
:root { |
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
.btn { | |
background-color: green; | |
} | |
.btn:hover, | |
.btn:focus { | |
box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.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
<?php if (isset($_GET['x'])) { | |
echo '<link href="path/to/style_new.css" rel="stylesheet">'; | |
} else { | |
echo '<link href="path/to/style.css" rel="stylesheet">'; | |
} | |
?> |
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
$('.btn').click(function() { | |
yaCounter00000000.reachGoal('form-open'); | |
}); |
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
document.addEventListener( 'wpcf7mailsent', function( event ) { | |
switch (event.detail.contactFormId) { | |
case '111': | |
yaCounter00000000.reachGoal('form1-sent'); | |
break; | |
case '222': | |
yaCounter00000000.reachGoal('form2-sent'); | |
break; | |
default: | |
break; |
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
$(document).on('af_complete', function(event, response) { | |
var form = response.form; | |
// Если у формы определённый class | |
if (form.hasClass('ajax-form') && response.success) { | |
yaCounter00000000.reachGoal('form-sent'); | |
} | |
}); |
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
image: node:latest | |
stages: | |
- build | |
- deploy | |
variables: | |
BUCKET_NAME: bucket-name | |
cache: |
OlderNewer