Span2
Span2 is a class name used in Bootstrap version 2’s grid system to define a column that spans two of the twelve available columns within a row. In this framework, layouts are built from rows containing spanX elements, where X ranges from 1 to 12. There are two grid modes: a fixed grid using row and spanN, and a fluid grid using row-fluid and spanN. In a row-fluid container, the width of a span2 is a percentage representing roughly two-twelfths of the row’s width, minus gutter space; in a fixed row, widths are defined in pixels based on the container width. The typical usage is to place a span2 alongside other spanN elements to compose a multi-column layout, for example a span2 followed by a span10 to fill a 12-column row. Reordering or spacing is achieved with offset classes like offset1, which insert space before a span2. Note that span2 is specific to Bootstrap 2 and is not used in Bootstrap 3 and later, which replaced the spanX naming with the col-*-N classes (for example, col-sm-2). Because of this architectural shift, spanX classes became deprecated in newer releases, though some legacy projects still rely on them. In practice, span2 remains a reference point for understanding the evolution of Bootstrap’s grid system and for working with older web projects that use Bootstrap 2-era code.