Extended EBM for percentage capabilities with media queries