O
O
Old Odessa2017-07-21 16:02:25
ubuntu
Old Odessa, 2017-07-21 16:02:25

Why is transition not responsive when shadow changes?

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
</head>
<body>
  <div class="button"></div>
  <style>
    body {
      background: url(organic-tiles.png);
    }
    .button {
      display: block;
      margin: 20px;
      width: 150px;
      height: 150px;
      background: url(organic-tiles.png);
      cursor: pointer;
      border-radius: 50%;
      box-shadow: 0px 4px 50px rgba(0,0,0, .25), inset 0px 2px 0px rgba(255,255,255, .6), 0 2px 0 rgba(0,0,0,.1), inset 0 0 20px rgba(0, 0, 0, .1);
      transition: box-shadow 0.3s ease-in-out;
    }

    .button:hover {
      box-shadow: inset 0 0 50px rgba(0,0,0, .15), 0px 2px 0px rgba(255,255,255, .3), inset 0 2px 0 rgba(0,0,0,.1);	
    }	

    .button::after {
      content: ''; 
      width: 150px;
      height: 150px;
      display: block;
      opacity: .7;
      background: url(plug.png) no-repeat center;
    }
  </style>	
</body>
</html>

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
ky0, 2019-02-07
@ky0

1 * * * *is the first minute of every hour. Every minute is * * * * *
Z.Y. - in find it is better to use not -exec rm, but-delete

S
sash999, 2019-02-07
@sash999

and what is your symbol ; at the end of the line does?
1 * * * * - this is every first minute of any hour, if you want every - then */1 * * * *
And yet - check the local mail of the root - sometimes in case of cron errors it complains there.

P
pfg21, 2019-02-07
@pfg21

if you have a systemd, can it be better to create a unit + timer for the systemd ??
A little more straight forward in the setup.

E
Egor Zhivagin, 2017-07-21
@Krasnodar_etc

reacts . You just made the outer shadow first, and then the inner one. How do you css smoothly make it?)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question