タグ

2016年12月9日のブックマーク (4件)

  • Nesting Your BEM? – CSS Wizardry

    28 November, 2016 Nesting Your BEM? Written by Harry Roberts on CSS Wizardry. Table of Contents Nesting in CSS Specificity Chain the First Class Simplifying with Sass Practical Upshot Downsides Use Cases To Use or Not to Use? Let me please start this post by saying that this is not a recommendation or new ‘best practice’. This is me thinking out loud. I’m a huge fan and proponent of BEM, and have

    Nesting Your BEM? – CSS Wizardry
    o_ti
    o_ti 2016/12/09
  • Input Masking | CSS-Tricks

    DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! I don’t have any UX research to cite, but anecdotally, I like it when inputs that expect data in a specific format use an input mask. I thought I’d just line up a few demos for really easy reference. Robin Herbots’s (jQuery) Inputmask This is an actively maintained plugin. See the Pen jQuery

    Input Masking | CSS-Tricks
    o_ti
    o_ti 2016/12/09
    [HTML input]フォーム入力ので見やすく無駄の少ない補助表示
  • Get the Balance Right: Responsive Display Text

    Last year in 24 ways I urged you to Get Expressive with Your Typography. I made the case for grabbing your readers’ attention by setting text at display sizes, that is to say big. You should consider very large text in the same way you might a hero image: a picture that creates an atmosphere and anchors your layout. When setting text to be read, it is best practice to choose body and subheading si

    Get the Balance Right: Responsive Display Text
    o_ti
    o_ti 2016/12/09
    vminを利用してdevice rotationが変わってもギャップを抑える
  • いま俺たちに必要なのはz-indexの明確な指標だ - Qiita

    こんにちは、@armorik83です。こういう煽ったタイトルを書きたいってずっと思っていたので今回やってみます。 z-indexの値付けどうしてる? z-indexの説明は省略しますが、この値は取りうる範囲が膨大1でそれに対する指標が無いことから、複数のWeb設計者が入り混じる場合にバッティングする恐れがあります。 1から10までの範囲で収めていた設計者のサイトに100刻みの値付けをするプラグインが導入されると、一気に関係が崩れてしまうことが想像できます。 W3Cではこの値についての明確な指標を載せていないようにみえます。(調査不足だったらすいません) 広告業界では Web広告業界の展開は日国内外問わず盛んで、さまざまな手法でうっとうしい広告を載せてきます。この時、元のコンテンツにオーバーレイする形で表示される広告や、マウスオーバーで拡大する広告などが普及してきたことで、2012年にこの

    いま俺たちに必要なのはz-indexの明確な指標だ - Qiita
    o_ti
    o_ti 2016/12/09
    オンライン広告におけるz-indexの制空権。業界でつくられたz-index値の指標。広告のタイプによって住み分けが考えられている。