added support for css setting for line cap