Skip to content

Commit

Permalink
sanitize.cssについての追記
Browse files Browse the repository at this point in the history
  • Loading branch information
basara669 committed Oct 12, 2016
1 parent 1e8d3f6 commit 94a60ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
- [リリースノート](https://github.com/basara669/html_css_book/releases) に更新内容を記載しておりますので、参考にしていただけますと幸いです。
- GitHubのアカウントをお持ちの方はwatchしていだけると、更新された際には通知が届くようになります。

### sanitize.cssについて
本書のP82にリセットCSSとして「sanitize.css」の使い方を紹介しています。この3段落目に「ダウンロードしましょう」とありますが、執筆時点からバージョンが上がってしまったこともあり、最新版(v4.1.0 2016年10月現在)のものを適用するとその後の部分でキャプチャ通りにならなくなります。
本ダウンロードファイルのsanitizeというフォルダの中に、執筆時点のバージョン(v3.2.0)を入れました。
最新版は使用せず、このファイルをご使用ください。

### FAQ
#### scssファイルの更新がcssに反映されない場合
それまでgulpが正常に動いてる場合、gulp側のエラーではなくscssファイル側に記述ミスが発生している可能性があります。
Expand All @@ -29,6 +34,7 @@
見づらいレイアウトとなっていますが、こちらはTipsというもので、本編とは違う発展的な内容になっています。
本編だけを読みたいという方はこのTipsは読み飛ばしていただいても問題ございません。


### 正誤表
#### P18 上部画像
#####
Expand Down

0 comments on commit 94a60ef

Please sign in to comment.