Sha256: 901ac134869bba82091acddea81eb6c46f8b41d46c9d21dc6afea603d36ebeb6

Contents?: true

Size: 564 Bytes

Versions: 50

Compression:

Stored size: 564 Bytes

Contents

$placeholders: '-webkit-input-placeholder',
               '-moz-placeholder',
               '-ms-input-placeholder';

@mixin placeholder {
  @each $placeholder in $placeholders {
    @if $placeholder == "-webkit-input-placeholder" {
      &::#{$placeholder} {
        @content;
      }
    }
    @else if $placeholder == "-moz-placeholder" {
      // FF 18-
      &:#{$placeholder} {
        @content;
      }

      // FF 19+
      &::#{$placeholder} {
        @content;
      }
    }
    @else {
      &:#{$placeholder} {
        @content;
      }
    }
  }
}

Version data entries

50 entries across 49 versions & 8 rubygems

Version Path
blocky-0.0.9 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.8 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.7 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.6 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.5 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.4 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.3 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.2 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
blocky-0.0.1 vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss
refills-0.0.2 source/stylesheets/bourbon/css3/_placeholder.scss
blogelator-0.2.3 vendor/assets/stylesheets/blogelator/bourbon/css3/_placeholder.scss
blogelator-0.2.2 vendor/assets/stylesheets/blogelator/bourbon/css3/_placeholder.scss
blogelator-0.2.1 vendor/assets/stylesheets/blogelator/bourbon/css3/_placeholder.scss
bourbon-3.2.0.beta.2 dist/css3/_placeholder.scss
refills-0.0.1 source/stylesheets/bourbon/css3/_placeholder.scss
bourbon-compass-3.2.0.beta.1.a stylesheets/bourbon/css3/_placeholder.scss
bourbon-3.2.0.beta.1 app/assets/stylesheets/css3/_placeholder.scss
bourbon-3.2.0.beta.1 dist/css3/_placeholder.scss
bourbon-compass-3.1.8 stylesheets/bourbon/css3/_placeholder.scss
bourbon-3.1.8 app/assets/stylesheets/css3/_placeholder.scss