他のタブに影響を与えずにレビリンクの幅のサイズを小さくするには?私のナビゲーションバーのフレックスアイテムの幅を小さくしたい
私がこれを望む理由は、leviと残りのリンクの間のスペースをクリックすると、leviリンクに接続されたページに移動するということです。リービリンクの幅が広すぎます。どのように私はそれを減らすのですか?
下の画像では、リーバイスはナビゲーションバーの広い領域に広がっています。私はそれを減らしたい。
Adjust the width of the preview to see the effect of the css declarations
これはこれは、CSS
position: -webkit-sticky;
top : 1px;
width: 100%;
}
#flex-container, #nav {
font-size: 55px;
display: flex;
flex:1;
}
#navbutton {
text-transform: none;
font-size: 19px !important;
font-family: Heiti SC;
}
.nav-link {
/* display: inline;*/
font-family: Helvetica neue;
cursor: pointer;
font-size: 19px;
padding: 10px;
font-weight: bolder;
margin:8px;
}
.md-display-2 {
font-family: Heiti SC;
font-size: 20px;
}
#container > .md-layout {
/* background-color: #F9FBFB;*/
min-height: 100px;
border-color: black;
align-items: center;
justify-content: center;
/* border-style: dotted;*/
border-width: 1px;
padding: 8px;
margin-bottom: 100px;
font-family: Heiti SC;
}
footer {
margin-top: 100px ;
}
.btnsubscribe {
text-transform: none;
font-family: Heiti SC;
font-weight: bolder;
min-width: 66px !important;
min-height: 56px !important;
font-size: 19px !important;
}
.md-layout #inputSubscribe {
margin-left: 09px;
width: 300px;
}
.md-layout h3 {
padding: 0px;
}
にそれを与えることがレヴィリンクの持つ最大を指定した場合、左へのすべてのリンクをドラッグし、最大幅 –