Tweak

InsaneJournal

Tweak says, "don't be so dramatical."

Username: 
Password:    
Remember Me
  • Create Account
  • IJ Login
  • OpenID Login
Search by : 
  • View
    • Create Account
    • IJ Login
    • OpenID Login
  • Journal
    • Post
    • Edit Entries
    • Customize Journal
    • Comment Settings
    • Recent Comments
    • Manage Tags
  • Account
    • Manage Account
    • Viewing Options
    • Manage Profile
    • Manage Notifications
    • Manage Pictures
    • Manage Schools
    • Account Status
  • Friends
    • Edit Friends
    • Edit Custom Groups
    • Friends Filter
    • Nudge Friends
    • Invite
    • Create RSS Feed
  • Asylums
    • Post
    • Asylum Invitations
    • Manage Asylums
    • Create Asylum
  • Site
    • Support
    • Upgrade Account
    • FAQs
    • Search By Location
    • Search By Interest
    • Search Randomly

Ally -- are you already gone? ([info]wastintime) wrote in [info]rp_tutorials,
@ 2012-11-04 10:47:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current mood: bouncy
Entry tags:html, resources: tutorials

Damn, it feels good to be a gangster

CSS3 Filters
aka "Oh, for cripe's sake WHY AREN'T YOU USING CHROME?"


→



property and browser-specific prefixes
-webkit-filter, -moz-filter, -o-filter, -ms-filter, filter

Note: Currently, only -webkit-filter (Safari and Chrome) works, but others should be available in the future. Additionally, you should always put the prefixed property (e.g. -webkit-filter) before the regular property (e.g. filter) when listing style rules so that the regular property takes precedence if the property is eventually implemented cross-browser.

currently available filter elements
grayscale(0% to 100%) - how much gray?
sepia(0% to 100%) - how much sepia?
saturate(0% to 100%) - how much color?
hue-rotate(0deg to 360deg) - how far do you want to rotate the color wheel?
invert(0% to 100%) - how much color inversion? [note: currently only full invert works]
opacity(0.0 to 1) - how transparent towards full visible should we go?
brightness(0.0 to 1 to desired .) - how much towards white should we go?
contrast(0% to 100% to desired %) - how much contrast should we remove or add?
blur(radius in px) - how far outward should we blur?

references
Official Documentation (reads like a dead language, tbh)
Examples: 1, 2


(Post a new comment)


[info]tessisamess
2012-11-04 05:46 pm UTC (link)

(Reply to this)


[info]thequarter
2012-11-04 11:00 pm UTC (link)
This is beyond cool.

(Reply to this)


[info]affictitious
2012-11-07 06:30 am UTC (link)
WHAT IS THIS DEVILRY!? o.o

(Reply to this)



Home | Site Map | Manage Account | TOS | Privacy | Support | FAQs