CSS Font Styles - Rubber Stamp Effect

I am looking for a CSS font that is as close as possible to what the rubber stamp will do.

For example, something close to this:

enter image description here

I prefer not to use the image because the text is dynamic.

I can offer some advice on how to do this, I would appreciate it.

UPDATE

This question seems to be a duplicate of this.

+4
source share
1 answer

Not a real font, but it just loads a small image that you can use any number of times when you want to generate similar text.

* {
  box-sizing: border-box;
}

h1 {
  position: relative;
  display: inline-block;
  color: red;
  padding: 15px;
  background-color: white;
  box-shadow:inset 0px 0px 0px 10px red;
}

h1:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("http://i.imgur.com/5O74VI6.jpg");
  mix-blend-mode: lighten;
}
<h1>
CANCELLED
</h1>
Run code
+2
source

Source: https://habr.com/ru/post/1660467/


All Articles