Use gem bootstrap
Create responsive screens with Rails. At that time, I want to make the size of the characters nicely larger or smaller.
app/assets/stylesheets/application.scss
body, html { font-size: 30px; }
@media screen and (min-width: 576px) and (max-width: 768px) { body, html { font-size: 30px; } }
@media screen and (min-width: 769px) and (max-width: 992px) { body, html { font-size: 30px; } }
@media screen and (min-width: 993px) and (max-width: 1200px) { body, html { font-size: 16px; } }
@media screen and (min-width: 1201px) { body, html { font-size: 20px; } }
OK if you change the above size Looking at various things, it is better not to set with px, so other methods are also under consideration This time it's more about writing scss than Rails