Create modal with the contents of the Code tag

Asked

Viewed 62 times

0

I’m developing a work for the college and to present I made a simple html page.

The page has a div with the tag code, where I play a json file with more than a thousand lines.

I would like to create a modal that occupies the entire screen and inside the content of the tag code. It would be like expanding to a better view.

inserir a descrição da imagem aqui

  • 1

    Pq does not use a Bootstrap modal for example?

  • Here on the site you have several modal templates, some with pure js jquery and some up to 100% with CSS, just go search better than you find

  • See if this serves http://kithomepage.com/sos/modal-resize.htm#normalModal

  • Here’s a modal with only css https://answall.com/questions/269780/n%C3%A3o-can-create-a-modal-com-html/269796#269796

  • I have little knowledge with HTML, tried and none worked. Still thanks for the help

  • @Leandrade pq I am using another css and the bootstrap will change all the style

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.