I face problems with the following clearfix implementation:
var clearFix = {
'*zoom': '1',
'&:before': {
content: "''",
display: 'table'
},
'&:after': {
content: "''",
display: 'table',
clear: 'both'
}
};
The Problem with the definition are the quotes. When the content is specified with double quotes than there is no Problem in IE and other browsers a well. Is there any reason why the content is implemented in that special way?
When you are ok with that proposal I will formulate a PR for that.
I face problems with the following clearfix implementation:
The Problem with the definition are the quotes. When the content is specified with double quotes than there is no Problem in IE and other browsers a well. Is there any reason why the content is implemented in that special way?
When you are ok with that proposal I will formulate a PR for that.