Some tricks mostly based on CSS3