Use of +/~ sign in css

In css3 + or ~ sign is new attribute.
It is work to apply css attribute in just after upcoming HTML Elements.

For Example HTML file is:
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Here, Rad color apply last p tag.
you can also use ~ sign like, ul ~ p
ul + p {
ul ~ p {


Output is :


Popular posts from this blog

Java Mysql Database Connectivity without download mysql connector file [use netbeans] - krButani