apply basic css styles using data- attributes instead of classes