Fork
0
Fav
1
View
1541
  • Play

Fullscreen

Smart Phone

  • Readme
  • JavaScript 0 lines
  • HTML 9 lines
  • CSS 9 lines
CSS の草案にある object-fit プロパティを使う

Center and crop images with a single line of CSS
https://medium.com/@chrisnager/center-and-crop-images-with-a-single-line-of-css-ad140d5b4a87
  • CSS 1行だけで縦横比を保ったまま画像を切り抜く
  • CSS 1行だけで縦横比を保ったまま画像を切り抜く

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

21f

Author

ちゅん ちゅん

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by