Skip to content

Instantly share code, notes, and snippets.

View aksamitnaya's full-sized avatar

aksamit aksamitnaya

View GitHub Profile
<video width="400" height="300" controls="controls">
<source src="%s" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
</video>
Example of Linear Gradient:
.pricing-table__heading {
background-image: linear-gradient(180deg, #000 0%, #f2295b 100%);
}
_______________________________________________________________________
Example of Radial Gradient:
.site-logo__link img[width="0"] {width:auto;}
.site-link__img[width="0"] {width:auto;}
add_filter( 'cherry_customizer_get_image_types', 'monstroid2_cherry_customizer_add_svg_mime_type' );
function monstroid2_cherry_customizer_add_svg_mime_type( $mimes = array() ) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter( 'cherry_customizer_get_image_types', 'monstroid2_cherry_customizer_add_svg_mime_type' );
function monstroid2_cherry_customizer_add_svg_mime_type( $mimes = array() ) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}