Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <style type="text/css">
- #fundo{
- background-image:url(fundo.jpg); /* Imagem que ficará por traz de todas */
- background-repeat:no-repeat;
- width:800px; /* tamanho da div */
- height:600px; /* tamanho da div */
- }
- #meio{
- background-image:url(meio.png); /* Imagem que ficará no meio das duas imagens */
- background-repeat:no-repeat;
- width:800px; /* tamanho da div */
- height:600px; /* tamanho da div */
- }
- #frente{
- background-image:url(frente.gif); /* Imagem que ficará na frente de todas*/
- background-repeat:no-repeat;
- width:800px; /* tamanho da div */
- height:600px; /* tamanho da div */
- }
- </style>
- </head>
- <body>
- <div id="fundo"> <!-- imagem mais ao fundo -->
- <div id="meio"> <!-- Imagem do meio -->
- <div id="frente"> <!-- Imagem da frente -->
- <!-- A idéia é colocar uma div dentro da outra, qualquer coisa me pergunte que explico melhor -->
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement