Example 1Īdd the special class view-first to the element with the class view for this effect. We will omit the CSS3 vendor prefixes when showing the style.īackground: #fff url(./images/bgimg.jpg) no-repeat center centerĪnd now we’ll look at the ten effects. We set the general rules for our class and then we are going to add a special class with the desired effect styles. (For some examples, we’ll need to add the mask element as a separate element and wrap the description in a devi with class content.)Īfter creating our markup we’re going to set our style. Inside the view insert an element with the class mask that will be responsible for our effects driven by CSS3 and inside it we will put a title, description and a link to the full image. Create a container that will have our image and all the other infomation. The structure of markup is very simple and intuitive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |