Making an iframe responsive

I present to you The Incredible Singing Cat solution =) jsFiddle: http://jsfiddle.net/omarjuvera/8zkunqxy/2/As you move the window bar, you’ll see iframe to responsively resize Alternatively, you may also use the intrinsic ratio technique This is just an alternate option of the same solution above (tomato, tomato)

What’s the difference between display:inline-flex and display:flex?

display: inline-flex does not make flex items display inline. It makes the flex container display inline. That is the only difference between display: inline-flex and display: flex. A similar comparison can be made between display: inline-block and display: block, and pretty much any other display type that has an inline counterpart.1 There is absolutely no difference in the effect on flex items; flex layout is identical whether … Read more

Superscript in CSS only?

You can do superscript with vertical-align: super, (plus an accompanying font-size reduction). However, be sure to read the other answers here, particularly those by paulmurray and cletus, for useful information.

Gradient borders

WebKit now (and Chrome 12 at least) supports gradients as border image: Prooflink — http://www.webkit.org/blog/1424/css3-gradients/Browser support: http://caniuse.com/#search=border-image

Using CSS for a fade-in effect on page load

Method 1: If you are looking for a self-invoking transition then you should use CSS 3 Animations. They aren’t supported either, but this is exactly the kind of thing they were made for. CSS Demo http://jsfiddle.net/SO_AMK/VV2ek/ Browser Support All modern browsers and Internet Explorer 10 (and later): http://caniuse.com/#feat=css-animation Method 2: Alternatively, you can use jQuery (or plain JavaScript; see the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)