Honestly, `<iframe>` is the easiest for basic stuff, but it’s kinda limited. If you want better pdf embeds html css, try wrapping it in a div and styling that.
Like:
```css
.pdf-wrapper {
border: none;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
```
Makes it look way more modern. For lazy-loading, just use `loading="lazy"` on the iframe.
Like:
```css
.pdf-wrapper {
border: none;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
```
Makes it look way more modern. For lazy-loading, just use `loading="lazy"` on the iframe.
