Skip to content

Instantly share code, notes, and snippets.

View TheoryOfNekomata's full-sized avatar
🎹
Practicing

Allan Crisostomo TheoryOfNekomata

🎹
Practicing
View GitHub Profile
@p3t3r67x0
p3t3r67x0 / pseudo_elements.md
Last active April 15, 2026 14:56
A CSS pseudo-element is used to style specified parts of an element. In some cases you can style native HTML controls with vendor specific pseudo-elements. Here you will find an list of cross browser specific pseudo-element selectors.

Styling native elements

Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.

video::webkit-media-controls-timeline {
  background-color: lime;
}

video /deep/ input[type=range] {
@maelp
maelp / README.md
Last active December 19, 2015 08:39
Creating a brush stroke effect - part 2

Creating a brush stroke effect - part 2

Please see http://8pen.com/blog/doodle for a more complete explanation of how we built the brush stroke

The construction of the brush stroke is done in four steps:

  • create regularly spaced vertices describing the brush stroke centerline
  • compute the normal vectors at each point
  • extrude the ribbon
  • scale the ribbon to create a bulge around the midpoint
@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE