If you are using a third party theme, and then put your own code into the style.css, whenever you upgrade the theme, your changes may be lost (if the upgrade comes with changes in style.css, it will overwrite your server’s copy of style.css). If you put code in a plugin like this, the changes will remain, since they are stored in the database.