LoginSignup
0
0

More than 1 year has passed since last update.

パンくずリストの書き方

Posted at

今日学んだこと!
割と簡単なことだけど、忘れないように。

・パンくずリストのCSS

ul {
  display: flex;
}
ul li {
  list-style: none;
}
ul li:not(:last-child)::after {
  content: ">";
  margin: 0 1rem;
}

li:not(:last-child)::after{}で最後のli要素の右側には表示しないようにできる!
パンくずリスト.jpg

以上!!

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