Press "Enter" to skip to content

Opacity Examples in CSS

Last updated on October 5, 2019

Definition :

Opacity is meant for making the content to display properly or to display in a water mark manner.

Program :


     <style type=”text/css”>



                                margin-top: 100px;

                                width: 100px;

                                height: 100px;

                                font-size: 50px;

                                opacity: 0.3;




                    <div> Hello </div>



Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *