Computer Science, asked by nitish8089, 1 year ago

write a code by use of html,css,js. for placing the image in background and some thing written over image . i want background shoud be lighter


shardul1925: thxx..
shardul1925: Hello and Good Evening Everyone!!!!

Please solve the Program 9.5 in JAVA language.

Class-9(CICSE)

Subject-Computer Sc...
https://brainly.in/question/5851822?utm_source=android&utm_medium=share&utm_campaign=question
shardul1925: see my recent question bhaiya
shardul1925: bhaiaya agar ye pata karna ho ki input digit hain ya lette rtoh kaise karegnge....baas logic bata dijiye
nitish8089: ASCII character ka rule use karo...
shardul1925: ohk...
shardul1925: dekhte hain
shardul1925: waise ek personal que puchu
nitish8089: puchlo...
shardul1925: ye computer science lene ke baad koi scope rehta hain

Answers

Answered by Anonymous
8

Hi

<!DOCTYPE html>

<html lang="en">

<head>

 <meta charset="UTF-8">

 <title>Sandbox</title>

 <style>

   * {

     box-sizing: border-box;

   }

   body, html {

     height: 100%;

     width: 100%;

   }

   body {

     display: flex;

     align-items: center;

     justify-content: center;

   }

   .text {

     font-size: 11vw;

     font-family: sans-serif;

     font-weight: bold;

     color: #fff;

     text-shadow: 5px 5px 2px rgba(0,0,0,.5);

     text-align: center;

   }

 </style>

</head>

<body>

 <script>

   document.body.style = "background: url('https://source.unsplash.com/1000x500/?water'), skyblue; background-repeat: no-repeat;  background-size: cover;";

   const text = document.createElement('h1');

   text.className = "text";

   text.textContent = "Hello Ajay!";

   document.body.appendChild(text);

 </script>

</body>

</html>


You are smart enough to understand this code.. so no explanation!


nitish8089: yaar moderator ka...
nitish8089: tumhara hua hai kabhi...
nitish8089: haha..
nitish8089: kyu..
nitish8089: well me yahi predict kar raha tha... tumhare bare me..
Similar questions