With rgba you can just use black or white and reduce the opacity to blend it with the background. This is actually easier than working with other color methods because you might typically have to go hunting for a decent accent to the background color that is perhaps slightly darker or lighter. Not only can you set the position, blur and color of the shadow, you can also set its opacity using the alpha value. However, I find that rgba is the ideal color setting for a shadow because it adds yet another dimension to work with. As a quick note, you don’t have to use rgba for the color of your shadow but can utilize any of the CSS color methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |