"If" statements are essentially programming constructs, used in sequentially executed code. However CSS is not precisely code, as it is an extension, of sorts, of HTML. HTML is a mark-up language, where the code is interpreted to display text in a certain way, but not to actually manipulate it. Therefore there is no use of programming constructs in HTML.
However, CSS has a number of hacks that sometimes allow the use of programming constructs. The "if" statement is one of these but its use is severely limited as compared to other languages. The same functionality can be achieved by creating separate CSS files for browser versions and linking them to the webpage. Dynamic scripting can be used to discover the browser and its version, and accordingly call the correct CSS file.
The use of the CSS "if" statement is less than reliable, and should be avoided as the interpretation may change at a later stage; therefore the code written is rendered unsustainable.