LoginSignup
0
0

More than 1 year has passed since last update.

【CSS】背景色を斜めに切り替える

Last updated at Posted at 2022-11-24

transform: skewを使う

See the Pen 斜め切り替えの背景 by sanagi (@n_ninja) on CodePen.

他にもclip-pathを使う方法もあるみたいだけど、より複雑な形を作りたいとき向けな気がしたので、これが一番手っ取り早いかも?

0
0
0

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
0
0