css font style italic

i had a request to make some font italic the other day, and for some reason i could not remember the css for it. 

It's font-style: italic;

I should know that! I guess italic fonts annoy me a bit for some reason. All that slantyness...

HTML

<div class='italic'>My italic demo is Amazing! .. </div>

CSS

.italic {
font-style: italic;
}
My italic demo is Amazing! ..

Other Items in css
Page Views

This page has been viewed 49 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
I'm a big believer in energy and the secret and that sort of thing.
Unknown