Tuesday, May 18, 2021

@Media , Transition, CSS Property

<!DOCTYPE html>
<html>
<head>
<style> 

div {
  width: 100px;
  height: 100px;
  background: green;
  transition: background 0s, width 3s;
}

@media screen and (max-width : 600px){
  div {
      width: 100px;
      height: 100px;
      background: cyan;
  }
}

div:hover {
  width: 300px;
  background:yellow;
  transform:rotate(10deg)
}
</style>
</head>
<body>

<h1>The transition Property</h1>

<p>Hover over the div element below, to see the transition effect:</p>
<div>Golu</div>

<p><b>Note:</b> This example does not work in Internet Explorer 9 and earlier versions.</p>

</body>
</html>

No comments:

Post a Comment

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass