Latest solutions
The classic rock-paper-scissor w/ React + Styled Components
#react#styled-components#vite#typescriptSubmitted almost 2 years agoMulti step form -- TypeScript, Vite, TailwindCSS, React
#react#tailwind-css#vite#typescriptSubmitted almost 2 years agoA tricky card UI page using styled components, react and cleavejs
#react#styled-components#bemSubmitted almost 3 years agoA Responsive pricing toggle with react and WindiCSS
#react#webpack#tailwind-cssSubmitted almost 3 years ago
Latest comments
- @llariola00@Aadv1k
Good, clean and polished. What else can one expect from such a challenge? Good work pal! I would have said mobile responsiveness but it looks great even on small screens
- @grmbyrn@Aadv1k
Hey! I don't have pro but attempted this challenge nonetheless (courtesy of you for the assets) Here is the github link live url
The way I sovled the issue, was to just align all the images with a flex, justify them on the center and just translate the container by the width of a image on the arrow click
- @Aadv1k@Aadv1k
Holy hell I just saw the 40 html mistakes, but most of them seem to be the doings of tailwind and webpack, so I don't think I can fix em
- @12Kentos@Aadv1k
this is because of the way your app is centered and the approach, this is why you should opt for a mobile first approach, on mobile do something like
.card { width: 80%; max-width: 700px}
and done, simple as that, no need to worry about the sizing, and also, when centering elements horizantally within the body usemargin: 0 auto
and use position absolute for the vertical centering, sorry if my comment is a bit vague, feel free to ask me anythingMarked as helpful - @serfoll@Aadv1k
hey man great design, just one small suggestion, (this is something even I do and am trying to avoid) that is hover, I would say you should add a
:active
animation to your button to make it clicky both on mobile and deskop. The problem with a hover is that it is sticky on mobile, which makes it irritating, in my newer projects I avoid using hover in most cases, especially where the effect is visible (box-shadow for instance) instead I try and addactive
animations that trigger when the button is clicked.Marked as helpful - @mtenkorang@Aadv1k
Your design is great just a little suggestion -- add a media query for smaller screens like so --
@media only screen (min-width: 375px) {}
and here you can maybe adjust some fonts and the width of the card.