Hell Yes CSS
wizardzines.com
Hell Yes CSS
1–10 of 120 posts
Re: Hell Yes CSS
#2Re: Hell Yes CSS
#3Re: Hell Yes CSS
#4CSS is not as traditional an experience but is so fundamental to succeeding as a front-end developer. I really love that this is a Zine as well!
Re: Hell Yes CSS
#5CSS is not as traditional an experience but is so fundamental to succeeding as a front-end developer. I really love that this is a Zine as well!
Would you explain what you mean by CSS not being as traditional an experience? Compared to what? Agree with the rest of your comment...
I keep hearing that it has settled down, though, so I am looking forward to learning it properly next I need to do something interface-y.
Re: Hell Yes CSS
#6Re: Hell Yes CSS
#7So many years into CSS and it's still damn near impossible to (a) vertically center multi-line text in a div (b) set the width of a div or video in units other than pixels and let the height be set based on an aspect ratio. Both result in nested div hell.
.my-container {
display: flex;
justify-content: center;
align-items: center;
}
This should work for (b) as long as the height isn't in terms of a percentage: .my-video {
--my-video-height: 120px;
height: var(--my-video-height);
width: calc(var(--my-video-height) * 16/9);
}Re: Hell Yes CSS
#8Re: Hell Yes CSS
#9So many years into CSS and it's still damn near impossible to (a) vertically center multi-line text in a div (b) set the width of a div or video in units other than pixels and let the height be set based on an aspect ratio. Both result in nested div hell.
The answer to (a) (along with many other things) is to use Flexbox: .my-container { display: flex; justify-content: center; align-items: center; } This should work for (b) as long as the height isn't in terms of a percentage: .my-video { --my-video-height: 120px; height: var(--my-video-height); width: calc(var(--my-video-height) * 16/9); }
These things are getting better. CSS was a nightmare in the 2000s.
Re: Hell Yes CSS
#10For the bottom two columns on the page, shouldn't the second column break below the first column in a mobile/responsive view? I normally don't get picky about css stuff except for when it is in css tutorials lol.
Why? Having it this way round is definitely less common than the other, but by no means is it rare, and there’s nothing at all wrong with it.