Skip to content

Instantly share code, notes, and snippets.

View gelicia's full-sized avatar
🕴️
Never logging off

Kristina gelicia

🕴️
Never logging off
View GitHub Profile
@gelicia
gelicia / _.md
Last active August 29, 2015 14:06
approval matrix/magic quadrant
@gelicia
gelicia / _.md
Created August 23, 2014 22:07
play1
@gelicia
gelicia / _.md
Created August 9, 2014 18:29
Tributary inlet
@gelicia
gelicia / gist:6fdcc7e3f8114f03758e
Created August 1, 2014 19:00
CSS filter invert question
Hey Modernizr, I saw this was a way to ask a question without doing an IRC issue, I was wondering if this has come up before.
Basically, my webpage has an image that needs to be inverted when something is selected. There's all the various filters but the two that actually do something are these two:
1.) -webkit-filter: unquote("invert(100%)");
This is what works in webkit supported browsers like Chrome and some others
2.) filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'invert\'><feColorMatrix in='SourceGraphic' type='matrix' values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'/></filter></svg>#invert");
This is what works in Firefox. It's an SVG filter that you can apply to the image that will invert the color.
IE does not support either of these, and I would like to remove the thing that toggles this when the user has IE, or any browser that does not support one of these things. The modernizr detectors I was using was cssfilters and svgfilters.
@gelicia
gelicia / _.md
Created May 27, 2014 14:38
PVC LITES
@gelicia
gelicia / _.md
Created May 12, 2014 17:24
Let it spin
@gelicia
gelicia / _.md
Created March 20, 2014 15:18
fisheyeplay
@gelicia
gelicia / _.md
Created March 20, 2014 00:39
helpdomino
@gelicia
gelicia / _.md
Created March 19, 2014 18:25
ssfdsdf
@gelicia
gelicia / MEIData.csv
Created March 12, 2014 00:19
MEI Data - State
State NonDiscriminationLaws-SexualOrientation-Employment-3 NonDiscriminationLaws-SexualOrientation-Housing-3 NonDiscriminationLaws-SexualOrientation-PublicAccommodations-3 RelationshipRecognition-SexualOrientation-MarriageEquality-12 RelationshipRecognition-SexualOrientation-CivilUnions-12 RelationshipRecognition-SexualOrientation-DomesticPartnerships-12 MunicipalServices-SexualOrientation-EnumeratedAntiBullyingSchoolPolicies-3 NonDiscriminationLaws-GenderIdentity-Employment-3 NonDiscriminationLaws-GenderIdentity-Housing-3 NonDiscriminationLaws-GenderIdentity-PublicAccommodations-3 MunicipalServices-GenderIdentity-EnumeratedAntiBullyingSchoolPolicies-3 FinalScore-60
Alabama 0 0 0 0 0 0 0 0 0 0 0 0
Alaska 0 0 0 0 0 0 0 0 0 0 0 0
Arizona 0 0 0 0 0 0 0 0 0 0 0 0
Arkansas 0 0 0 0 0 0 0 0 0 0 0 0
California 3 3 3 12 0 12 3 3 3 3 3 48
Colorado 3 3 3 0 12 0 3 3 3 3 3 36
Connecticut 3 3 3 12 0 0 3 3 3 3 3 36
Delaware 3 3 3 12 0 0 0 3 3 3 0 30
Florida 0 0 0 0 0 0 0 0 0 0 0 0