William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories



While searching HTML5’s selector new attributes, I found a helpful website:


You can find some useful information about the new features in HTML5 and CSS3, including live examples and browser compatibility. With the reference, I add a CSS class by using selector:

#contents .box::first-letter {
  font-size: 2.5em;
  color: #990000;
  weight: bolder;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #d1e8ed;

This will make the first letter of a paragraph to be more eye-catching.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: