updated CSS to share attributes