❓ Help Web design

psychie

Elite
paano maging ganito mga boss yung design gamit SVG tag.

example:

1710328484344.webp



output ko:

1710328542411.webp



Hindi kasi pumapagit yung second image ehh kahit bawasan ko ng px

eto po source code:

<svg height="100" width="850">

<a href="You do not have permission to view the full content of this post. Log in or register now."><img src="You do not have permission to view the full content of this post. Log in or register now." alt="ACE" border="0"></a>
</a>
</svg>

<svg class="image" height="150" width="839px">
<<a href="You do not have permission to view the full content of this post. Log in or register now."><img src="You do not have permission to view the full content of this post. Log in or register now." alt="connect" border="0"></a>
</svg>
 
Sa paggamit ng SVG tag, hindi mo dapat gamitin ang <img> tag sa loob ng <svg> tag. Sa halip, dapat mong gamitin ang <image> tag para magamit mo nang maayos ang mga larawan na nasa SVG format. Dito ay ang tamang pagkakasulat ng iyong code:

HTML:
<svg height="100" width="850">
  <a href="https://ibb.co/HDmnrWG">
    <image xlink:href="https://i.ibb.co/HDmnrWG/ACE.png" height="100" width="850" />
  </a>
</svg>

<svg height="150" width="839">
  <a href="https://imgbb.com/">
    <image xlink:href="https://i.ibb.co/3s1kFv0/connect.png" height="150" width="839" />
  </a>
</svg>

Sa pamamagitan ng paggamit ng <image> tag, mas madali mong ma-control ang pagkalat o pag-scaling ng iyong mga larawan sa loob ng SVG. Tiyaking tama ang pagtukoy sa height at width ng <image> tag para hindi magkakaroon ng isyu sa pagpapakita ng mga larawan.
 

About this Thread

  • 1
    Replies
  • 284
    Views
  • 1
    Participants
Last reply from:
Unknown user

Trending Topics

Online now

Members online
1,150
Guests online
1,365
Total visitors
2,515

Forum statistics

Threads
2,273,442
Posts
28,949,527
Members
1,235,747
Latest member
_usteng_
Back
Top