Declarative in the sense that it starts with name and then directives what should be done.
This is an example for having blue 15pt for h2 heading, and drop some shadow on image.
h2 { color: blue; font-size: 15pt; } img { box-shadow: 10px 10px 5px #888; }For box-shadow, refer to this post.
You can dynamically modify the setup using class or ID.
.noborder{box-shadow: none;}
No comments:
Post a Comment