最近の検索
最近の検索はありません

Isaac Starobin
参加日2022年10月30日
·
前回のアクティビティ2022年11月01日
フォロー中
0
フォロワー
0
合計アクティビティ
4
投票
1
サブスクリプション
1
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Isaac Starobin
Isaac Starobinさんがコメントを作成しました:
Thanks for taking a look! Unfortunately this looks like it's beyond my very limited CSS capabilities. If you have any ideas, I'm all ears!
コメントを表示 · 投稿日時:2022年11月01日 · Isaac Starobin
0
フォロワー
0
投票
0
コメント
Isaac Starobinさんがコメントを作成しました:
I'm trying to customize the numbers in ordered lists so they have pretty circled backgrounds. I started with this CSS:
.article-body ol {list-style: none; counter-reset: li}
li::before {content: counter(li); color: red;
display: inline-block; width: 1em;
margin-left: -1em}
li {counter-increment: li}
It did indeed format the numbers, but it also added numbers to some very strange places around the article page, like the social icons on the bottom.
Any ideas how to modify the CSS so that it applies ONLY to ordered lists within the article body?
Thanks!
コメントを表示 · 投稿日時:2022年10月30日 · Isaac Starobin
0
フォロワー
0
投票
0
コメント