https://github.com/ohno/html-example
https://github.com/ohno/html-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ohno/html-example
- Owner: ohno
- License: cc0-1.0
- Created: 2022-11-09T18:27:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-31T23:49:58.000Z (over 2 years ago)
- Last Synced: 2025-03-05T19:35:31.217Z (over 1 year ago)
- Language: CSS
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# html-example
## 動かし方
1. [ダウンロード](https://github.com/ohno/HTML-example/archive/refs/heads/main.zip)して[解凍](https://zenn.dev/ohno/articles/b99a783890171c)しましょう.
2. index.htmlをブラウザにドラッグ&ドロップすれば表示できます. 特別なソフトは一切必要ありません. Java Scriptも動きます.
3. CSSのファイル, Java Scriptのコード, 画像ファイルはassets内に全て置いてありますので, 後は察してください.
## CSSについて
ブラウザごとにCSSのデフォルト値が異なることがあり, よくトラブルを起こします. そういった環境依存性を打ち消すために, [index.html](https://github.com/ohno/HTML-example/blob/main/index.html)に
```css
```
という記述があります. この[reset.css](https://github.com/ohno/HTML-example/blob/main/assets/css/reset.css)は[こちら](http://meyerweb.com/eric/tools/css/reset/)を参考にして, 47行目以降は大野が書き足したものです. 気に入らなければオリジナルを参考にしてください.