IssueRaiser

UIkit 4: Shorten Class Names?

Should UIkit 4 shorten class names for background, margin, padding, width and height like other popular CSS frameworks do? - `uk-background-*` → `uk-bg-*` - `uk-margin-left-*` → `uk-ml-*` - `uk-padding-x-*` → `uk-px-*` - `uk-width-*` → `uk-w-*` - `uk-height-*` → `uk-h-*` Personally, we tend to keep the long class names to be more consistent with all the other classes which are not shortened (80%), but we want to put it up for discussion. What do you think? Here is a [Twitter Poll](https://twitter.com/getuikit/status/1174956912766406658) on this question, too.

Posted by saschadube on Sep 20, 2019, 7:49 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

github (Other)

UIkit 4: Shorten Class Names?

saschadubeSep 20, 2019, 7:49 AM

Should UIkit 4 shorten class names for background, margin, padding, width and height like other popular CSS frameworks do? - `uk-background-*` → `uk-bg-*` - `uk-margin-left-*` → `uk-ml-*` - `uk-padding-x-*` → `uk-px-*` - `uk-width-*` → `uk-w-*` - `uk-height-*` → `uk-h-*` Personally, we tend to keep the long class names to be more consistent with all the other classes which are not shortened (80%), but we want to put it up for discussion. What do you think? Here is a [Twitter Poll](https://twitter.com/getuikit/status/1174956912766406658) on this question, too.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue