Responsive theme changing calculator with pure htm, css and JavaScript
Design comparison
Community feedback
- @MoisesRmxPosted over 1 year ago
Hola, puedes usar los media queries en css para cambiar los estilos dependiendo del tamaño de la pantalla.
@media (max-width: 800px) {
selector { propiedad: valor; }
} Dentro de las llaves puedes escribir todo el css que quieres modificar. Con esto puedes hacer que tu calculadora se adapte a moviles, tabletas o al tamaño que tu quieras. Te recomiendo que busques mas hacerca de los media queries, te servira muchisimo :)
0@Tinsel19Posted over 1 year ago@MoisesRmx can you write it in English, I don't understand
0@MoisesRmxPosted over 1 year ago@Tinsel19 Hello, you can use the media queries in css to change the styles depending on the screen size.
@media(max width: 800px) {
selector { property: value; }
} Inside the braces you can write all the css you want to modify. With this you can make your calculator adapt to mobile phones, tablets or the size you want. I recommend that you search more about media queries, it will help you a lot :)
0@Tinsel19Posted over 1 year ago@MoisesRmx Thanks very much, I know about media queries, I was in a hurry to finish so I didn't implement it. I won't forget next time
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord