Utilizing Semantic UI for the dropdown feature, only the dropdown and transition components of Semantic have been incorporated. The challenge lies in altering the border of items within the Dropdown list where besides the first element, the remaining elements possess bold borders. Despite setting the border-bottom-width to 0 in order to maintain uniformity with borders on three sides, the desired effect is not being achieved.
An additional issue arises when expanding the dropdown toggle on mobile view, causing the "Contact Us" section to be partially cut off from the navbar-toggle. (The navigation bar has been constructed using Bootstrap 4.)
The following CSS properties were applied to style the dropdown:
.item{
border-color: #812485 !important;
border-bottom-width: 0px !important;
border-width: 1px !important;
color: #3F72AF !important;
border-style: solid !important;
}
.navbar{
background-color: #3F72AF;
border-radius: 0 0 85% 85% / 30%;
}
To view the codepen, click here.