Calculator Tools Calculator Tools
Create

Boy with Wings and Pig Face

Oct 14, 2023

About this app

Experience the magical world of a boy with wings and a pig face.

Boy with Wings and Pig Face

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Boy with Wings and Pig Face</title>
<meta name="description" content="Experience the magical world of a boy with wings and a pig face.">
<meta name="keywords" content="boy, wings, pig, face, magical, world">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Create a boy with wings and a pig face
const boyWithWingsAndPigFace = document.createElement("div");
boyWithWingsAndPigFace.classList.add("boy-with-wings-and-pig-face");

// Create the boy's body
const body = document.createElement("div");
body.classList.add("body");
boyWithWingsAndPigFace.appendChild(body);

// Create the boy's wings
const wings = document.createElement("div");
wings.classList.add("wings");
boyWithWingsAndPigFace.appendChild(wings);

// Create the boy's pig face
const pigFace = document.createElement("div");
pigFace.classList.add("pig-face");
boyWithWingsAndPigFace.appendChild(pigFace);

// Append the boy with wings and pig face to the main container
const mainContainer = document.getElementById("main-container");
mainContainer.appendChild(boyWithWingsAndPigFace);
});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
/* App CSS Goes Here */
.boy-with-wings-and-pig-face {
position: relative;
width: 300px;
height: 300px;
background-color: #FDD6E5;
border-radius: 50%;
margin: 50px auto;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

.body {
position: absolute;
width: 220px;
height: 220px;
background-color: #FFB6C1;
border-radius: 50%;
z-index: 1;
}

.wings {
position: absolute;
width: 180px;
height: 180px;
background-color: #F8C6D7;
border-radius: 50%;
transform: rotate(45deg);
z-index: 2;
}

.pig-face {
position: absolute;
width: 100px;
height: 100px;
background-color: #FFB6C1;
border-radius: 50%;
z-index: 3;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- App HTML Goes Here -->
</div>
</body>
</html>