configured css to work with block class.