Computer Science, asked by abdufaisu, 7 months ago

uestion 5:
Write a program to enter time in seconds and convert them into HOURS,
MINUTES and SECONDS.

Answers

Answered by TheRiskyGuy
1

Answer:

[tex]&lt;!DOCTYPE html&gt;</p><p></p><p>&lt;html&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;CSS Heart Animation&lt;/title&gt;</p><p></p><p>&lt;style&gt;.back{</p><p></p><p>position:fixed;</p><p></p><p>margin:auto;</p><p></p><p>width:100%;</p><p></p><p>heart:100%;</p><p></p><p>top:0;</p><p></p><p>bottom:0;</p><p></p><p>left:0;</p><p></p><p>right:0;</p><p></p><p>padding:0;</p><p></p><p>background-color:black;</p><p></p><p>animation-name:back;</p><p></p><p>animation-duration:3s;</p><p></p><p>animation-iteration-count:infinite;</p><p></p><p>}</p><p></p><p>.heart{</p><p></p><p>background-color:white;</p><p></p><p>margin:50% auto;</p><p></p><p>top:0;</p><p></p><p>bottom:0;</p><p></p><p>right:0;</p><p></p><p>left:0;</p><p></p><p>padding:0;</p><p></p><p>height:50px;</p><p></p><p>width:50px;</p><p></p><p>transform:rotate(-45deg);</p><p></p><p>animation-name:heart;</p><p></p><p>animation-duration:3s;</p><p></p><p>animation-timing-function:ease-out;</p><p></p><p>animation-iteration-count:infinite;</p><p></p><p>}</p><p></p><p>.heart:before,.heart:after{</p><p></p><p>background-color:white;</p><p></p><p>position:absolute;</p><p></p><p>content:"";</p><p></p><p>width:50px;</p><p></p><p>height:50px;</p><p></p><p>border-radius:50%;</p><p></p><p>}</p><p></p><p>.heart:before{</p><p></p><p>left:25px;</p><p></p><p>}</p><p></p><p>.heart:after{</p><p></p><p>left:0;</p><p></p><p>top:-25px;</p><p></p><p>}</p><p></p><p>@keyframes heart{</p><p></p><p>0%{</p><p></p><p>transform:scale(1)rotate(-45deg);</p><p></p><p>}</p><p></p><p>50%{</p><p></p><p>transform:scale(0.6)rotate(-45deg);</p><p></p><p>}</p><p></p><p>}</p><p></p><p>@keyframes back{</p><p></p><p>0%{</p><p></p><p>background-color:black;</p><p></p><p>opacity:1;</p><p></p><p>}</p><p></p><p>50%{</p><p></p><p>background-color:#ff0099;</p><p></p><p>}</p><p></p><p>}&lt;/style&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="back"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="heart"&gt;&lt;/div&gt;</p><p></p><p>&lt;/body&gt;</p><p></p><p>&lt;/html&gt;[/tex]&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; </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>[tex]

<div class="emoji emoji_robot">

<div class="emoji__siren"></div>

<div class="emoji__face">

<div class="emoji__connector"></div>

<div class="emoji__eyes">

<div class="emoji__eye"></div>

<div class="emoji__eye"></div>

</div>

<div class="emoji__nose"></div>

<div class="emoji__mouth"></div>

</div>

</div>

<style>

:root {

--color-white: #fff;

--color-dark: #4b4241;

--color-bg: #fffcee;

--tooth-pos: 6px;

}

* {

padding: 0;

margin: 0;

box-sizing: border-box;

}

body {

height: 100vh;

width: 100vw;

padding: 30px;

display: grid;

place-items: center;

background-color: var(--white);

}

.emoji {

width: 106px;

height: 106px;

position: relative;

border: 1px solid rgba(255, 255, 255, 0);

border-radius: 26%;

box-shadow: inset -8px -7px 0px rgba(0, 0, 0, 0.05);

}

.emoji_robot {

background: #54cae2;

background: linear-gradient(180deg, #6ed0e4 0%, #4abbe3 50%, #4ec2e5 100%);

}

.emoji_robot .emoji__siren {

position: absolute;

top: -4px;

left: 50%;

border-radius: 3px;

width: 18px;

height: 10px;

background-color: var(--color-dark);

margin-left: -9px;

}

.emoji_robot .emoji__siren::before {

content: '';

position: absolute;

top: -7px;

width: 14px;

height: 7px;

background: #f9dc2e;

background: radial-gradient(circle, #f9dc2e 0%, #f9a02e 100%);

margin-left: -7px;

left: 50%;

border-top-left-radius: 6px;

border-top-right-radius: 6px;

animation: flasher 0.5s ease-in-out infinite;

Similar questions