Positionaly vertically & horizontally center
Faisal Ahmed
Posted on November 7, 2024
<!DOCTYPE html>
<html>
<body>
<div class="invoice-print-container" style="width: 100vw; height: 100vh; position: relative;">
<div class="water-mark" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.1;">
<img width="300px" height="300px"; src="https://png.pngtree.com/png-vector/20190115/ourmid/pngtree-green-leaf-hand-painted-300-pixel-map-leaf-love-png-image_348692.jpg" alt="">
</div>
</div>
</body>
</html>
đź’– đź’Ş đź™… đźš©
Faisal Ahmed
Posted on November 7, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024