Dev Nerd
Ir al canal en Telegram
545
Suscriptores
Sin datos24 horas
-17 días
-1130 días
Archivo de publicaciones
545
Repost from Mr. SeeFun.Dev
✨ Let’s Talk Responsive Web Design✨
One of the first things I learned as a web developer is how important it is to make websites look great on any screen size. Here are the basics that changed the way I build:
✔️REM vs EM:
REM scales based on the root font size (usually 16px). So, 2rem = 32px.
EM scales based on the parent element’s size. It’s great for local tweaks.
💡 I stick to REM for consistency, but EM comes in handy for nested styles.
✔️ Media Queries:
These let you style your site differently for various devices. Here’s an example:
@media (max-width: 600px) { body { font-size: 14px; } }
@media (min-width: 1024px) { body { font-size: 18px; } }
✔️ Flexible Layouts:
I use percentages for widths and rely on flexbox or grid for alignment. It makes layouts so much easier to adjust!
#WebDev #ResponsiveDesign #CSS545
Repost from The Abenezer
after that
.life{
position: relative;
}
.school,
.coding,
.mind-rotting-content
.family,
.church,
.girlfriend[attribute=found]{
position: absolute;
left: 50%;
right: 50%;
transform: translate(-50%, -50%)
}
@theabenezer545
Hey, is there any way to integrate payment method using telebirr like stripe doin .. without using chapa 😊?
545
"Train each other in prayer, sit in prayer, sanctify in prayer; let the community be strengthened in faith, one by another."
Ephesians 4:16
