Support for nth-child, :before, :after, and other pseudo classes

I am looking to build out a speech bubble and I need pseudo classes. How can I still do this via custom code? I don’t quite understand. Have the CSS there and just simply enter the class in the interface? Any help will be very much appreciated.

The CSS:

.bubble
{
position: relative;
width: 290px;
height: 155px;
padding: 0px;
background: #FFFFFF;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.bubble:after
{
content: ‘’;
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
margin-left: -15px;
bottom: -15px;
left: 19%;
}