Some black technology in css

Some black technology in css

  • Simple text blur effect
  • Implement page editing CSS
  • Implement multiple borders

Simple text blur effect

*{ 
    color: transparent;
    text-shadow: #111 0 0 5px;
}

Implement page editing CSS

<!DOCTYPE html>
<html>
    <body>
        <style style="display:block" contentEditable>
            body { color: blue }
        </style>
    </body>
</html>

Implement multiple borders

.div {
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(0, 0, 0, 0.2), 0 0 0 18px rgba(0, 0, 0, 0.2), 0 0 0 24px rgba(0, 0, 0, 0.2);
    height: 200px;
    margin: 50px auto;
    width: 400px
}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325708490&siteId=291194637