Gene-regulatory DNA elements control complex spatiotemporal patterns of gene expression, and alterations to these sequences are commonly associated with inter-individual phenotypic variation and human disease. This Review discusses our latest understanding of how different layers of information in these sequences control the binding of regulators and influence gene expression outcomes.