Skip to content

Instantly share code, notes, and snippets.

View ervasive's full-sized avatar

Ruslan Vasiliev ervasive

View GitHub Profile
.element {
// If the element is hidden initially, display those properties first
display: none;
visibility: hidden;
opacity: 0;
// Properties affecting visibility
box-sizing
visibility
overflow
<?php
/**
* Clean empty tags for shortcodes
*/
function clean_p_shortcodes($content) {
// array of custom shortcodes requiring the fix
$block = join('|', array(
'shortcode_name',
module ApplicativesQuestion where
import Prelude
import Data.Either
-- 1. Lift our function to Either datatype with valid first argument
let step1 = (\a b c d -> a + b + c + d) <?> (Right 1)
-- > :type step1
-- forall t11. Either t11 (Int -> Int -> Int -> Int)
/* Customize sidebar props */
:root {
--csd-width: 200px;
--csd-trigger-size: 20px;
--csd-transition-duration: 0.5s;
--csd-transition-fn: cubic-bezier(.07, .95, 0, 1);
}
#sidebar-box {
position: relative;
/* Customize sidebar props */
:root {
--csd-width: 200px;
--csd-trigger-size: 20px;
--csd-transition-duration: 0.5s;
--csd-transition-fn: cubic-bezier(.07, .95, 0, 1);
}
#sidebar-box {