🔒 Closed [HTML] Paano para to para di lumampas yung span badge sa div?

Status
Not open for further replies.

Darirk

Forum Expert
Example lang po itong ss ko na lumampas yung badge sa div niya pag naka mobile view. Pero pag desktop center naman.
Gusto ko center pa din siya kahit sa mobile yung di siya lumampas sa box. Hehe
Screenshot_2020-09-05-23-57-13-1.png
 
Ang haba naman kasi ng results. Lagyan mo pa kaya ng padding. Tsaka kapag may sobra dapat automatic may \newline.
try mo lang ts
 
Google Flexbox.

Also just because it works on your browser, it doesn't mean it will work on other browsers. You should always test your work on your target browsers and other major browsers. Let's say you want Chrome. Check that it works on Firefox and Safari too.

Check CanIUse.com to see which browsers support your tags.

If you are using npm, browserlists and stylelint should help.

If you want to automate testing, use Playwright. Google it.
 
Ipakita mo yung code mo sa part na yan.
Nakalimutan mo ata to:

HTML:
<head>
    <meta
      name="viewport"
      content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
    />
</head>

or

naka absolute position yang nag-ooverlap na badge na yan.
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 368
    Views
  • 6
    Participants
Last reply from:
Impostor Syndrome

Trending Topics

Online now

Members online
1,040
Guests online
3,457
Total visitors
4,497

Forum statistics

Threads
2,331,782
Posts
29,260,331
Members
1,147,815
Latest member
groudon
Back
Top