Tomislav Šuto
@RetroApeAll solutions
Responsive recipe page; smooth thanks to transitions
PSubmitted 5 months agoIf anyone has better ways to solve the problems above, I am happy to listen :)
Social links layout with flex
PSubmitted 5 months agoUsing
flexbox
; how would one center the main object (card) horizontally and vertically (without.attribution
affecting the alignment), and still have.attribution
be right below that main object, without usingposition
on the.attribution
?Blog Card made responsive with clamp
PSubmitted 5 months agoI used
clamp
with viewport to scale elements between two values. The problem is that this way each element scales at its own rate (even though scaling is smooth individually).Is there a way to have each element scale in unison using
clamp
? Or if there is a better way to do this?Is there maybe a way to scale elements between two numbers, i.e. interpolating?
Centering QR code component with -ms-transform
PSubmitted 5 months agoAlthough the project was simple to do, centering an element vertically and horizontally seems to be more complicated than it should. Using
flex
is possible (I think), but I decided to use positioning:.container { position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
I understand the
transform
property, but I don't understand what is-ms-transform
property supposed to be and what does it do. If anyone has an answer or has a link with a good explanation, I am happy to devour it :)