Skip to content

Instantly share code, notes, and snippets.

View RiodeJaneiroo's full-sized avatar
🎯
Focusing

Vadim Zmiievskyi RiodeJaneiroo

🎯
Focusing
  • Ukraine
View GitHub Profile
@RiodeJaneiroo
RiodeJaneiroo / index.html
Last active May 5, 2021 15:45
[Google Analitics] #google_analitics
<!-- GoogleAnalytics counter -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54873391-1', 'auto');
ga('send', 'pageview');
setTimeout("ga('send', 'event', '15 seconds', 'read')",15000);
@RiodeJaneiroo
RiodeJaneiroo / index.html
Created March 31, 2018 13:14
style input file
<div class="form-group">
<label class="control-label" for="af_message">Загрузите скриншот</label><br><br>
<label for="input-file" class="input-upload">
<input name="project" type="file" id="input-file" accept=".jpg, .jpeg, .png, .psd, .pdf, .doc, .docx">
<img src="/tmp/img/arrow-up.svg" alt="upload file" />
<br>
<span>выбрать файл для отправки</span>
</label>
</div>
@RiodeJaneiroo
RiodeJaneiroo / index.html
Created September 7, 2016 07:51
tabs html+css
<div class="tabs-widget">
<div class="header">
<a href="#tab-1-1">Первая вкладка</a>
<a href="#tab-1-2">Вторая вкладка</a>
<a href="#tab-1-3">Третья вкладка</a>
</div>
<div class="content">
<div id="tab-1-1" class="scroller"></div>
<div class="item">
<p>Это первая вкладка этого классного виджета табов.</p>
@RiodeJaneiroo
RiodeJaneiroo / main.scss - placeholder style
Last active August 17, 2016 04:00
css rules for input placeholder
input::-webkit-input-placeholder {
font-weight: 400;
font-size: 16px;
}
input::-moz-placeholder {
font-weight: 400;
font-size: 16px;
}
input:-moz-placeholder {
font-weight: 400;