Hi, my third project. I had many problems with this one. How to make exact border around the avatar image? And how to make text centered with eth and clock icon? (i have it a bit low) And i dont have it responsive, i dont know why. For any tips i would be thankfull.
Ansh Mittal
@phoenix-xrAll comments
- @TommyShelby21Submitted about 2 years ago@phoenix-xrPosted about 2 years ago
Hey, So I just reviewed your css file and found someone common mistakes which even I used to do.
-
To make the container centered. You have apply flex center on container itself that's what your container is not centered. If you will apply flex center to body it will work perfectly!
-
To give border to avatar image Add this css: border: 1px solid white
-
To make text centered in clock thing. Wrap your text in a div and add "display:flex; align items: center;" to the parent div. To make your site responsive for mobile too you can use media queries in css.
Hope this will help :)
Marked as helpful1 -
- @rahiii-devSubmitted about 2 years ago@phoenix-xrPosted about 2 years ago
Wow! Your site is truly amazing. Much better than mine design wise. Btw you can use "oninput" event instead of "onchange" event on the search bar for real time search results as the user types. Just a suggestion tho otherwise it's great like that too.
Marked as helpful0