Created
March 22, 2019 06:30
-
-
Save yutaide/78a379332040ce621ba4681c7e884172 to your computer and use it in GitHub Desktop.
画面の角との間にできる隙間を無くす
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*body(背景)にmargin: 0pxを指定することで | |
| 画像を貼った時にできる隙間が無くなります。*/ | |
| body{ | |
| margin: 0px; | |
| } | |
| /*これは画像を小さく表示させているだけです*/ | |
| img{ | |
| width: 500px; | |
| height: auto; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment