So i need to always have my width to 100%, except when max-content is longer.
width: max(100%, max-content);
Something like that but isn't working
CodePudding user response:
You should use this
width : 100%;
max-width: max-content;
So i need to always have my width to 100%, except when max-content is longer.
width: max(100%, max-content);
Something like that but isn't working
CodePudding user response:
You should use this
width : 100%;
max-width: max-content;