In my latest online project, I decided to integrate Bootstrap 4. The main focus is on mobile users, but I also want to ensure desktop users have a good experience.
However, I am facing difficulties in hiding certain texts on medium screens only using predefined classes. My current workaround is not ideal:
<span class="hidden-sm-up">Display: </span>
<span class="hidden-md-down">Display: </span>
I know this coding approach is not the best practice. I have been searching for the right combination of classes to hide content specifically on medium screens. Despite expecting a class like .hidden-md
, it seems not to exist.
If anyone can provide guidance or assistance on this issue, it would be greatly appreciated.
Thank you,
knal