a CSS implementation in objective C