<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: opacity</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/opacity.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-10-01T01:48:15+00:00</updated><author><name>Simon Willison</name></author><entry><title>This Week in HTML 5 - Episode 7: Clickjacking</title><link href="https://simonwillison.net/2008/Oct/1/whatwg/#atom-tag" rel="alternate"/><published>2008-10-01T01:48:15+00:00</published><updated>2008-10-01T01:48:15+00:00</updated><id>https://simonwillison.net/2008/Oct/1/whatwg/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://blog.whatwg.org/this-week-in-html-5-episode-7"&gt;This Week in HTML 5 - Episode 7: Clickjacking&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Clickjacking is when a third party site is embedded in an iframe with opacity 0 and positioned such that a click on the page actually hits a button on the now invisible third party site. Mark Pilgrim explains how the NoScript site uses this in a non malicious way to for the “install now!” button.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/clickjacking"&gt;clickjacking&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/iframes"&gt;iframes&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mark-pilgrim"&gt;mark-pilgrim&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/noscript"&gt;noscript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/opacity"&gt;opacity&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/phishing"&gt;phishing&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;&lt;/p&gt;



</summary><category term="clickjacking"/><category term="html5"/><category term="iframes"/><category term="mark-pilgrim"/><category term="noscript"/><category term="opacity"/><category term="phishing"/><category term="security"/></entry><entry><title>When Bugs Collide: Fixing Text Dimming in Firefox 2</title><link href="https://simonwillison.net/2008/Jun/19/when/#atom-tag" rel="alternate"/><published>2008-06-19T18:09:13+00:00</published><updated>2008-06-19T18:09:13+00:00</updated><id>https://simonwillison.net/2008/Jun/19/when/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://allinthehead.com/retro/328/when-bugs-collide-fixing-text-dimming-in-firefox-2"&gt;When Bugs Collide: Fixing Text Dimming in Firefox 2&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Handy tips from Drew on fixing the glitchy text rendering in Firefox  2 when you animate opacity without breaking alpha-transparent PNGs in IE6.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/browsers"&gt;browsers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/bugs"&gt;bugs&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/drew-mclellan"&gt;drew-mclellan&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/firefox"&gt;firefox&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/firefox2"&gt;firefox2&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ie6"&gt;ie6&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jquery"&gt;jquery&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/opacity"&gt;opacity&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/pngs"&gt;pngs&lt;/a&gt;&lt;/p&gt;



</summary><category term="browsers"/><category term="bugs"/><category term="css"/><category term="drew-mclellan"/><category term="firefox"/><category term="firefox2"/><category term="ie6"/><category term="javascript"/><category term="jquery"/><category term="opacity"/><category term="pngs"/></entry><entry><title>A brief introduction to Opacity and RGBA</title><link href="https://simonwillison.net/2008/Mar/17/brief/#atom-tag" rel="alternate"/><published>2008-03-17T02:00:44+00:00</published><updated>2008-03-17T02:00:44+00:00</updated><id>https://simonwillison.net/2008/Mar/17/brief/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.css3.info/a-brief-introduction-to-opacity-and-rgba/"&gt;A brief introduction to Opacity and RGBA&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
The CSS opacity property is inherited by an element’s children; opacity set using the new rgba() declaration in CSS 3 differs in that it is not inherited.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/css3"&gt;css3&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/opacity"&gt;opacity&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/rgba"&gt;rgba&lt;/a&gt;&lt;/p&gt;



</summary><category term="css"/><category term="css3"/><category term="opacity"/><category term="rgba"/></entry><entry><title>Styling File Inputs with CSS and the DOM</title><link href="https://simonwillison.net/2007/Sep/10/shaun/#atom-tag" rel="alternate"/><published>2007-09-10T23:58:15+00:00</published><updated>2007-09-10T23:58:15+00:00</updated><id>https://simonwillison.net/2007/Sep/10/shaun/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom"&gt;Styling File Inputs with CSS and the DOM&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Clever hack to style the un-stylable: set the opacity of the file input to 0, then use a bit of JavaScript to make sure the (now invisible) browse button is always under the mouse.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/fileinput"&gt;fileinput&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/opacity"&gt;opacity&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/shauninman"&gt;shauninman&lt;/a&gt;&lt;/p&gt;



</summary><category term="css"/><category term="fileinput"/><category term="opacity"/><category term="shauninman"/></entry></feed>