I don't know how to add another photo to the mobile version.
Sebastian Arrieta
@sarrietav-devAll comments
- @bartooplSubmitted almost 2 years ago@sarrietav-devPosted almost 2 years ago
Or you could use a media query with the background-image property.
This is the tailwind way to do it:
bg-[url('./image/*.jpg')]
// For mobilelg:bg-[url('./image/*.jpg')]
// For desktopMarked as helpful0 - @sarrietav-devSubmitted almost 2 years ago
- @sarrietav-devSubmitted about 3 years ago
Sorry for the accessibility issues
- @sarrietav-devSubmitted about 3 years ago
Mobile first app! It was a pain in the ass trying to make the desktop view to look like the given example, but I tried to make it the closest possible using paddings, etc. Any tips to make the design closer to the example will be totally appreciated!
@sarrietav-devPosted about 3 years agoProbably I shouldn't use flexbox on the details
0 - @ADITHYAADHI06Submitted about 3 years ago
give some feedback please
@sarrietav-devPosted about 3 years agoCool! But the heading and the button font-family are different from the design. Also, the colors of the icons. I suggest you to read about the currentColor value:)
0