YouTube Video Embedded via iframe Ignoring z-index?

Try adding wmode, it seems to have two parameters. &wmode=Opaque &wmode=transparent I can’t find a technical reason why it works, or much more explanation but take at look at this query. <iframe title=”YouTube video player” width=”480″ height=”390″ src=”http://www.youtube.com/embed/lzQgAR_J1PI?wmode=transparent” frameborder=”0″ wmode=”Opaque”> or this //Fix z-index youtube video embedding $(document).ready(function (){ $(‘iframe’).each(function(){ var url = $(this).attr(“src”); $(this).attr(“src”,url+”?wmode=transparent”); … Read more

Placeholder Mixin SCSS/CSS

You’re looking for the @content directive: @mixin placeholder { ::-webkit-input-placeholder {@content} :-moz-placeholder {@content} ::-moz-placeholder {@content} :-ms-input-placeholder {@content} } @include placeholder { font-style:italic; color: white; font-weight:100; } SASS Reference has more information, which can be found here: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixin-content As of Sass 3.4, this mixin can be written like so to work both nested and unnested: @mixin … Read more

Remove border radius from Select tag in bootstrap 3

Here is a version that works in all modern browsers. The key is using appearance:none which removes the default formatting. Since all of the formatting is gone, you have to add back in the arrow that visually differentiates the select from the input. Note: appearance is not supported in IE. Working example: https://jsfiddle.net/gs2q1c7p/ select:not([multiple]) { … Read more

How does rem differ from em in CSS?

EMs are relative to their parent’s font size REMs are relative to a base font-size This is important when intermediate containers change font sizes. Child elements with EMs will be affected, those using REMs will not.

What does it mean when Chrome Dev Tools shows a computed property greyed out

NB: This answer has no solid evidence, it’s based on my observations along the time. The gray calculated properties are neither default, nor inherited. This only occurs on properties that were not defined for the element, but calculated from either its children or parent based on runtime layout rendering. Take this simple page as an … Read more

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