changed css method behaviour.
added placeholder transition method.