As I’m not sure if the negative margins are ok, or shouldn’t be there. I know I should rarely use negatives, but in this case, I tried everything with it, and didn’t align to where I want. Also tried aligning that highlighted element ( button-holder ), and had no luck with that.
The problem is that the clock element is transformed smaller. Transforms do no alter the flow so the clock is really taking up all the space that it would have done had you not transformed it smaller.
In this case (unless you want to recode the clock completely) you have little choice but to magic number the following content into position. However you should only need to do that for the element that directly follows the clock and then get the flow of the document back to normal.
You are probably better off leaving that section alone if it is looking close to what you wanted.
You would be better off without it but there is no way to make that clock smaller without re-inventing the widget so you are stuck with what you have I’m afraid.
Ok. Thanks. As for other elements, I think they look fine now. I’ve fixed up the negative margins on them. Except the .counterwrapper, which I’m not sure about changing its margins. And am still seeing left column being a bit wider than the right. It’s a lot better, but still needs work.
Been looking at my left column again, still trying to find out why it’s wider than it should be. My only guess was because of this element
When I removed it last night, nothing changed. Maybe it’s either the archive wrapper or the flex-container to the followers. Otherwise, I don’t see anything else that may be causing it. All gaps have been resolved as far as I can tell, looking through my code.
The ‘>’ is a child combinator and selects only elements that are direct children of the selector to its left. It does not select grandchildren.
The asterisk is the universal selector and represents all elements. In the code snippet above it will match any element that would be in that position (whether it be a div or span or anything).
Ok, removed it. Still didn’t change anything. Cool, thanks for that explanation. I take my comment about it back a step; I did find where it said about using * , but did not find any example like what you have.
@PaulOB yes, makes sense now. Sorry for the misunderstanding on the #entries. Thought when you said completely, you meant both the CSS and HTML. My bad.