title: How to add styles to an input element when maxlength is reached?
body: <p>Obviously it is quite trivial to detect if the maxlength in an input element has been reached by using JavaScript.</p>
  
  <p>But I was wondering if there is a way currently, or alternatively in any future standards, to do something along the lines of (psuedo-code example) <code>input:maxlength</code> or <code>input:length=[maxlength]</code>.</p>