CSS SPRITE 隠し文字について
最近は、
visibility: hidden;
を使わずにこのように設定する傾向があります。
#nav li a { width: ボタン幅; height: ボタン高さ; display: block; white-space: nowrap; background: url(背景画像のパス) no-repeat; text-indent: 100%; overflow: hidden; }
最近は、
visibility: hidden;
を使わずにこのように設定する傾向があります。
#nav li a { width: ボタン幅; height: ボタン高さ; display: block; white-space: nowrap; background: url(背景画像のパス) no-repeat; text-indent: 100%; overflow: hidden; }