Skip to content

Instantly share code, notes, and snippets.

View r3dvorak's full-sized avatar

Richard Dvořák r3dvorak

View GitHub Profile
@Septdir
Septdir / donate-solution.html
Last active August 16, 2019 21:21
Simple donate form for Yandex.Money and PayPal.Based on uikit3
<div class="uk-form uk-form-horizontal" donate-form="form">
<div class="uk-margin">
<div class="uk-form-label">Сервис</div>
<div class="uk-form-controls">
<div class="uk-button-group">
<a class="uk-button uk-button-default" donate-form="service_button"
data-service="yandex">Яндекс.Деньги</a>
<a class="uk-button uk-button-default" donate-form="service_button" data-service="paypal">PayPal</a>
</div>
<input type="hidden" donate-form="service">
@Septdir
Septdir / uk-number.css
Created February 25, 2019 14:41
UIkit3 number
[input-number] input,
[input-number] input:focus,
[input-number] input:hover,
[input-number] input:active {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
padding-right: 42px;
box-sizing: border-box;
}
@stereokai
stereokai / index.css
Created June 18, 2017 11:03
Trigonometry in CSS
//----------------------------------*\
// TRIGONOMETRY FUNCTIONS
//----------------------------------*/
// # Trigonometry in CSS
//
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf
// - Useful if you don't want to use JS.
// - With CSS Variables.
// - `calc()` can't do power (x ^ y) so I used multiplication instead.