Hello,
This is the example css code for only the safari browser.
Please try this.
SAFARI CODE
Safari is the only browser that seems to understand the ":first-of-type" pseudo class
Eg:
div:first-of-type p
{
left:7px; /* this will be only used in SAFARI because of :first-of-type */
}
Note
This :first-of-type can be only used for parent classes so in our above example we are using it in the <div> to call it for <p> , for example
div:first-of-type
{
left:7px; /* it wont work because :first-of-type can only be used for parent classes )
}
Hope it will be very much useful and easy
Thanks & Regards