Style Selected Text with CSS3(www.chrispoulter.com)

submitted by chrispoulterchrispoulter(105) 4 months, 10 days ago

Loving some of the new things you can now do with CSS3. Recently discovered that you can add styling to text selected by the user. Begs the question where you could make use of this or in fact whether a user is ever likely to notice you have tweaked the styling for their benefit but hey... CSS3 Styled Text Selections Simply drag the cursor over the styled text and the background and color properties change. p::selection { background: red; color: white; } p::-moz-selection { background: red; color: white; } p::-webkit-selection { background: red; color: white; } This is now supported in the...

1 comment |category: |Views: 6

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by bsenoffbsenoff(1583) 4 months, 10 days ago 0

Hey Chris, Could you please leave your name off the title of stories we end up having to go in and edit them out as they are redundant.

Thanks!

Reply

information Login or create an account to comment on this story