html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!--
🐻 Code name -> 🐻Teddy Bear🐻
🐻 Created by aim
🐻 Do not copy without my permission
🐻 Art work is inspired by flat coin
🐻If you like ❤️ please upvote, comment and share😀
🐻 Video tutorial -> https://youtu.be/AqfoC7-N3ho
🐻 Channel name -> Coding Infinite
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>teddy bear</title>
</head>
<body>
<div class="container">
<div class="content">
<div class="teddy">
<div class="chest">
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
*{
margin: 0;
height: 0;
}
.container{
width: 100%;
height: 100vh;
background-color:#082032;
}
.content{
position: absolute;
top: 40%;
LEFT: 50%;
transform: translate(-50%,-50%);
}
.teddy{
width: 180px;
height: 170px;
background-color:#F7B64C;
}
.chest{
width: 110px;
height: 150px;
background-color: white;
position: absolute;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run