navbar タブのスタイルを設定しようとしています。動作するコードが 2 つありますが、個々のタブをさらに制御する必要があり、その方法がわかりません。
これらのタブは、ヘッダーの下と右端にあります。そして、最初のタブのみの左下隅を丸くしようとしています。以下の 2 つのコード スニペットは両方とも、ナビゲーション バーの各タブの左下を丸めます。
各タブを制御し、各タブを個別にスタイルできるようにする適切なコードを見つけたいと思います。以下の 2 つのスニペットでは、どちらを改善した方がよいのか、何を追加するべきなのかわかりません。
.custom .menu, .custom .menu a, .custom .menu li ul {
-moz-border-radius-bottomleft:.5em; font-weight:bold;
-webkit-border-bottom-left-radius:.5em; font-weight:bold;
-moz-border-radius-bottomright:.0em;
-webkit-border-bottom-right-radius:.0em;}
またはこれ:
/* Remove the border from the far left. */
ul.menu{border-left:0;}
/* Add the left border back in. If you change the color of the nav border in the WordPress admin panel, you will also have to manually change the left border color below. */
ul.menu li.tab-1 a{
border-left:1px solid #CCC;
-moz-border-radius-topleft:.5em;
-webkit-border-top-left-radius:.5em;}
/* This creates the rounded borders. */
ul.menu li.tab a{
-moz-border-radius-bottomleft:.5em; font-weight:bold;
-webkit-border-bottom-left-radius:.5em; font-weight:bold;
-moz-border-radius-topright:.0em;
-webkit-border-top-right-radius:.0em;}
助けてくれてありがとう