High-resolution dissection of cis-regulatory elements