There is a div element with a php function inside.
In general, I wanted the div element to disappear along with the php-function at a small scale, and a button would appear when clicked, which opened the div element with the php-function as a slider (as in Vkontakte on the phone).
How can I solve this problem. They disappear with the help of classes in bootstrap (visible-lg, etc.)