CodeSolved

A comprehensive source of programming questions and exercises

Transition for all elements

Practice Easy 915/ Download 233 Views

Write a CSS code that for all features of all the elements of the page, a 200m second of Ease.

4 Answers

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>css3</title>
  <style>
    * {
      transition: all 200ms ease;
    }
    .div {
      width: 100px;
      height: 100px;
      border: 1px solid black;
      font-family: sans-serif;
      font-size: 1.4em;
      border-radius: 15px;
    }
    .div:hover p{
      color: blue;
    }
</style>  
</head>
<body>
  <div class="div">
    <p id="p">transition in 200ms</p>
  </div>
</body>
Nima1393 Download Python
<!DOCTYPE html>
<html lang="en";>
<head>
<meta charset="UTF-8">
<meta name="viewport " content="width=device-width,intial-scale=1.0">
<title> hearts</title>
<style>
    *{
        transition: all ease 200ms;
    }
    div:hover{
       transform:scale(0.5) ;
    }
</style>
</head>
<body>
<div style="font-size: 100px; color: red; text-align: center;">♥</div>
</body>
</html>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×
Close