タグ

2012年12月13日のブックマーク (5件)

  • Sassでlinear-gradient()のmixinをつくる - fragmentary

    このエントリはCSS Preprocessor Advent Calendar 2012、13日目のエントリです。 Sassを格的に使い始めてもう6ヶ月経つのですが、まだまだだなあと思うこと多々です。 というわけで、勉強のためCSSのグラデーションを出力するmixinを書いてみました。 Part 0 ― linear-gradient() の構成 CSS Image Values仕様の linear-gradient() は、グラデーションの「方向」に、色と位置の組からなる「カラーストップ」が続くという構成になってます。 linear-gradient( direction, colorstop1, colorstop2, ... ) さて、今日のImage Values仕様の linear-gradient() と、接頭辞つきの -prefixed-linear-gradient()

    Sassでlinear-gradient()のmixinをつくる - fragmentary
    ub-pnr
    ub-pnr 2012/12/13
  • Selectors: Select This!

    selectorA { property1: value1; property2: value2; } selectorB { property1: value3; property2: value4; } selector:pseudo-class::pseudo-element { -vendor-property: value; } selector[attribute], selector ~ relation { property: -vendor-value; -vendor-property: -vendor-value; -vendor-property: weirdsyntax; } <ul> <li id="myID" class="myClass">item 1</li> <li class="myClass">item 2</li> <li>item 3</li>

  • Redesigning the Media Query

    Responsive web design is showing us that designing content is more important than designing containers. But if you’ve given RWD a serious try, you know that shifting your focus from the container is surprisingly hard to do. There are many factors and instincts working against you, and one culprit is a perpetrator you’d least suspect. The media query is the ringmaster of responsive design. It lets

    Redesigning the Media Query
  • CSS Animations with only one keyframe • Lea Verou

    This is a very quick tip, about a pet peeve of mine in almost every CSS animation I see. As you may know, I’m a sucker for reducing the amount of code (as long as it remains human readable of course). I demonstrated a very similar example in my “CSS in the 4th dimension” talk, but I recently realized I never blogged about it (or seen anyone else do so). Lets assume you have a simple animation of a

    ub-pnr
    ub-pnr 2012/12/13
  • 買取のサービスはとても便利

    欲しかった物を購入した当初は使用していたが、少し日が経つと使用しなくなることがあります。それらは不用品に該当してきますが、ゴミに出してしまうと勿体ないです。明らかに壊れていたり、痛みが発生している場合は捨ててしまったほうがいいかもしれませんが、品質が保たれているのであれば、買取のサービスを活用するのが便利です。買取のサービスを展開しているお店はたくさんあり、専門的にある分野を積極的に査定してくれる所やリサイクルショップのような基的にどんなものでも査定してくれる所も存在するので、各自で利用する場所を選ぶことができます。ブランド品や古銭などは利用するお店で大きく査定額に違いが発生するので、そのような不用品を持ち込む場合はそれぞれの専門店を利用するのが良く、日用品などはリサイクルショップに持ち込めば簡単に現金にチェンジしてくれます。リサイクルショップのほうがお手軽にサービスを利用できる感じもし