const exec = require("child_process").exec
exec("ls", (error, stdout, stderr) => {
//do whatever here
})
Вы можете попробовать медиа-запрос CSS
<style>
.logo{
float:left;
}
/* On screens that are 500px wide or less */
@media screen and (max-width: 500px) {
.logo {
float: none;
}
}
</style>
.