LoginSignup
13

More than 5 years have passed since last update.

[done]斜めにトリミングされた画像を表示する方法

Last updated at Posted at 2014-09-25

下記の画像のように1〜9に画像をあてはめて切り抜きたいと思っています。
おしえてください。
ライブラリやヒントになるようなURLでも構わないので、よろしくお願いします。

スクリーンショット 2014-09-25 20.16.19.png

前提

1.Chromeで表示できる(他のブラウザでも実現できると尚可)
2.9つの画像と6つの画像の区切りの角度を与えると、上記のような画像を表示するhtmlを返す関数が欲しい
3.html+css+jsのみで実現できる
4.9つの画像はすべて合同な長方形

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13