Display html code inside a frame/image

[ad_1]

Hi,

Not sure if I'm asking the right community, but how do I make these ( refer to image) have an overlay on top of it? Like I want those rectangles (html code) to have an iphone frame around it.

For reference they are html code from adobe XD and I want the interactive prototype (embedded on wordpress) to have a frame around it. I also attached an image to better explain what I'm trying to achieve.

Thanks!!

https://preview.redd.it/yxa6i6bremed1.png?width=866&format=png&auto=webp&s=02e3806344cdb695e48d35445ca70c9bc42f3a89

https://preview.redd.it/uat3fv11fmed1.png?width=611&format=png&auto=webp&s=65cea17c603a7f328828f73fa673f31428c56a3e

[ad_2]
1 Comment
  1. Sure. It’s possible with CSS. There are lots of demo about overlay using CSS.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer