Did you find any problem in viewing the QR code in mobile and desktop views?? Any suggestions to improve project code?
Adejoh Ojochenemi Sunday
@AdejohOSAll comments
- @Vaishu03Submitted almost 2 years ago@AdejohOSPosted almost 2 years ago
This is great Vaishnavi, A little tweak here and there can still be done.
The link to your source code is broken, so i can't see your codes.
But i think you can
-Set
img{ width:100%; display:block;}
this makes the image responsive and fit the size of it's container.-Having fixed height and width for
.container
will cause text to overflow when they don't get enough room, so you need to know this.-Happy Coding!!!
Marked as helpful0 - @maxibrain4Submitted almost 2 years ago
your feedback is welcome
@AdejohOSPosted almost 2 years agoThis is a good one, but i think the following will also be cool. --Ensure you have a reset
*{margin:0; padding:0; box-sizing:border-box}
then addbackground-color
to.main
and eliminate.contbody
, takeoutflex
,height
from.screen
and add padding eg1rem
. Eliminate.pbox
, eliminate.pic
, you can takeoutheight
fromimg
so image don't get distorted, takeoutflex
,height
from.conttext
so your text can flow eaisly and addtext-align:center
and a little padding. Eliminate.text
. Replace.abo
with a heading tag egh1
, setpadding-bottom
andfont-size
..... One Love!!!Marked as helpful0