How to make a blackboard using CSS3?

I want to achieve a chalkboard effect (only green with a chalky powder effect) using css as shown in the image below

enter image description here

I found a font that is close to writing, but for the green board I tried to choose a color and apply it as the background for the div, but everything looks simple and even, which is unrealistic.

Can I achieve this whitish green effect with CSS? I do not want to use an image for this.

(I believe that this is possible because, as soon as I saw that the person made the full coke, he could use pure CSS)

+3
source share
3 answers

, rgba , text-shadow , "", .

.

, , .

Funkier . . :)

+3

you can use css3 gradient ... use the following code ..

.greenboard {background: #63856a; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #63856a 1%, #3c5a40 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#63856a), color-stop(100%,#3c5a40)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  #63856a 1%,#3c5a40 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  #63856a 1%,#3c5a40 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  #63856a 1%,#3c5a40 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  #63856a 1%,#3c5a40 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63856a', endColorstr='#3c5a40',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

it is not perfect as an image because the image contains some texture effects ...

+2
source

All Articles