Computer Science, asked by honeyajeesh2017, 7 months ago

can you please give me a question based on the chapter encapsulation (question should be about programming)​

Answers

Answered by TheRiskyGuy
8

Answer:

&lt;!DOCTYPE html&gt;</p><p></p><p>&lt;html lang="en"&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;Mickey Mouse&lt;/title&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="box"&gt;</p><p></p><p>&lt;div class="mouse mouse-lavender"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-mint"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-purple"&gt;&lt;/div&gt;</p><p></p><p>&lt;/div&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>body {</p><p></p><p>animation: background 3s infinite;</p><p></p><p>}</p><p></p><p>.box * {</p><p></p><p>position: absolute;</p><p></p><p>}</p><p></p><p>.box {</p><p></p><p>margin: 0 auto;</p><p></p><p>height: 300px;</p><p></p><p>width: 300px;</p><p></p><p>top: 50%;</p><p></p><p>transform: translateY(50%);</p><p></p><p>}</p><p></p><p>.mouse {</p><p></p><p>height: 100px;</p><p></p><p>width: 100px;</p><p></p><p>border-radius: 50%;</p><p></p><p>}</p><p></p><p>.mouse::before,</p><p></p><p>.mouse::after{</p><p></p><p>content: '';</p><p></p><p>position: absolute;</p><p></p><p>display: block;</p><p></p><p>height: 60px;</p><p></p><p>width: 60px;</p><p></p><p>border-radius: 50%;</p><p></p><p>}</p><p></p><p>.mouse::before {</p><p></p><p>top: -30%;</p><p></p><p>left: -30%;</p><p></p><p>}</p><p></p><p>.mouse::after {</p><p></p><p>top: -30%;</p><p></p><p>right: -30%;</p><p></p><p>}</p><p></p><p>.mouse-lavender {</p><p></p><p>background-color: #9b99ff;</p><p></p><p>top: 50%;</p><p></p><p>left: 0;</p><p></p><p>animation: beat 3s 1s infinite;</p><p></p><p>}</p><p></p><p>.mouse-lavender::before,</p><p></p><p>.mouse-lavender::after {</p><p></p><p>background-color: #9b99ff;</p><p></p><p>}</p><p></p><p>.mouse-mint {</p><p></p><p>background-color: #82fff3;</p><p></p><p>top: 50%;</p><p></p><p>right: 0;</p><p></p><p>animation: beat 3s 2s infinite;</p><p></p><p>}</p><p></p><p>.mouse-mint::before,</p><p></p><p>.mouse-mint::after {</p><p></p><p>background-color: #82fff3;</p><p></p><p>}</p><p></p><p>.mouse-purple {</p><p></p><p>background-color: #e682ff;</p><p></p><p>top: 0%;</p><p></p><p>left: 35%;</p><p></p><p>animation: beat 3s 3s infinite;</p><p></p><p>}</p><p></p><p>.mouse-purple::before,</p><p></p><p>.mouse-purple::after {</p><p></p><p>background-color: #e682ff;</p><p></p><p>}</p><p></p><p>@keyframes background2 {</p><p></p><p>0% {</p><p></p><p>background: #c3b8fc;</p><p></p><p>}</p><p></p><p>50% {</p><p></p><p>background: #ccfff6;</p><p></p><p>}</p><p></p><p>100% {</p><p></p><p>background: #feccff;</p><p></p><p>}</p><p></p><p>}</p><p></p><p>@keyframes beat {</p><p></p><p>0% {</p><p></p><p>transform: scale(1);</p><p></p><p>opacity: 1;</p><p></p><p>}</p><p></p><p>50% {</p><p></p><p>transform: scale(.6);[tex]</p><p>&lt;!DOCTYPE html&gt;</p><p>&lt;html&gt;</p><p>&lt;head&gt;</p><p>&lt;title&gt; VED PRAKASH&lt;/title&gt;</p><p>&lt;link rel="stylesheet" type="text/css" href="style.css"</p><p>&lt;/head&gt;</p><p>&lt;body&gt;</p><p> &lt;a href="#"&gt;</p><p>» »»risky »»»</p><p>     Click ↑&lt;/a&gt;</p><p> &lt;style type="text/css"&gt;body</p><p>{</p><p> margin: 0;</p><p> padding: 0;</p><p> background: #000;</p><p>}</p><p>a{</p><p> position: absolute;</p><p> top: 50%;</p><p> left: 50%;</p><p> transform: translate(-50%, 50%);</p><p> width: 250px;</p><p> height: 60px;</p><p> text-align: center;</p><p> line-height: 60px;</p><p> color: #fff;</p><p> font-size: 24px;</p><p> text-transform: uppercase;</p><p> text-decoration: none;</p><p> font-family: sans-serif;</p><p> box-sizing: border-box;</p><p> background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);</p><p> background-size: 300%;</p><p> border-radius: 30px;</p><p> z-index: 1;</p><p>}</p><p>a:hover</p><p>{</p><p> animation: animate 4s linear infinite;</p><p>}</p><p>@keyframes animate</p><p>{</p><p> 0%</p><p> {</p><p>  background-position: 0%;</p><p> }</p><p> 100%</p><p> {</p><p>  background-position: 400%;</p><p> }</p><p>}</p><p>a:before</p><p>{</p><p> content: '';</p><p> position: absolute;</p><p> top: -5px;</p><p> left: -5px;</p><p> right: -5px;</p><p> bottom: -5px;</p><p> z-index: -1;</p><p> background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);</p><p> background-size: 400%;</p><p> border-radius: 40px;</p><p> opacity: 0;</p><p> transition: 0.5s;</p><p></p><p>}</p><p>a:hover:before</p><p>{</p><p> </p><p> filter: blur(20px);</p><p> opacity:1;</p><p> animation: animate 4s linear infinite;</p><p>}   &lt;/style&gt;</p><p>&lt;/body&gt;</p><p>&lt;/html&gt;</p><p>&lt;marquee&gt;&lt;/marquee&gt; &lt;html&gt; &lt;head&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt; &lt;style&gt; Body{ background-color: white ; font-family: cursive; } .glow{ font-size: 80px; color: #fff; text-align: center; -webkit-animation: glow 1s ease-in-out infinite alternate; -moz-animation: glow 1s ease-in-out infinite alternate; animation: glow 1s ease-in-out infinite alternate; } @-webkit-keyframes glow{ from{ text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073; } } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h1 class="glow"&gt; འìʂiy Guy &lt;/h1&gt; &lt;/body&gt; &lt;/html&gt;

Similar questions