I have definitely picked up some useful tips in the hidden features style questions concerning PHP and XHTML.
So here is one to cover CSS. While easy to pick up, it takes a little while to learn about everything, their default behaviors, properties etc
Here are some to start the ball
@charset "UTF-8"; /* set the character set. must be first line as Gumbo points out in comments */
.element {
/* takes precedence over other stylings */
display: block !important;
/* mozilla .... rounded corners with no images */
-moz-border-radius: 10px;
/* webkit equivalent */
-webkit-border-radius: 10px
}
These are not so much hidden, but their use is not often widespread. What tips, tricks, rare features have you discovered with CSS?