I read Bootstrap 4 documentation but I can't figure out how to use Display Property. With Bootstrap 3 I found it easier and more intuitive.
i have a sidebar with two elements: widget-game and last-game. both elements must be hidden in SM and XS. in the site footer instead I have another reworked widget-game for mobile and it must only be visible in SM and XS and hidden in MD and LG
i tried with: d-xs-none d-sm-none d-md-block
to hide elements in the sidebar, in sm disappears but in xs reappears. for the widget that needs to appear only in mobile I used d-none d-sm-block d-md-none d-block d-sm-none
and it seems to work though it seems weird to me to have to use all those classes.
how can I hide elements in sm and xs? i already read the reply in, and i dont have any d-flex