• Skip to main content
  • Skip to search
  • Skip to select language
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      More MDN. Your MDN.

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. Tecnología para desarrolladores web
  2. CSS
  3. <integer>

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

In this article

  • Sumario

Related Topics

  1. Learn CSS
  2. CSS first steps
    1. CSS first steps overview
    2. What is CSS?
    3. Getting started with CSS
    4. How CSS is structured
    5. How CSS works
    6. Using your new knowledge
  3. CSS building blocks
    1. CSS building blocks overview
    2. Cascade and inheritance
    3. CSS selectors
    4. The box model
    5. Backgrounds and borders
    6. Handling different text directions
    7. Overflowing content
    8. Values and units
    9. Sizing items in CSS
    10. Images, media, and form elements
    11. Styling tables
    12. Debugging CSS
    13. Organizing your CSS (en-US)
  4. Styling text
    1. Styling text overview
    2. Fundamental text and font styling
    3. Styling lists
    4. Styling links
    5. Web fonts
    6. Assessment: Typesetting a community school homepage (en-US)
  5. CSS layout
    1. CSS layout overview
    2. Introduction to CSS layout
    3. Normal Flow
    4. Flexbox
    5. Grids
    6. Floats
    7. Positioning (en-US)
    8. Multiple-column Layout (en-US)
    9. Responsive design
    10. Media queries (en-US)
    11. Legacy Layout Methods (en-US)
    12. Supporting Older Browsers
    13. Fundamental Layout Comprehension (en-US)
  6. Reference
  7. Modules
    1. Compositing and Blending (en-US)
    2. CSS Animations
    3. CSS Backgrounds and Borders
    4. CSS Basic User Interface (en-US)
    5. CSS Box Model
    6. CSS Charsets (en-US)
    7. CSS Colors
    8. CSS Multi-column Layout
    9. CSS Conditional Rules
    10. CSS Counter Styles (en-US)
    11. CSS Device Adaptation (en-US)
    12. CSS Display (en-US)
    13. CSS Flexible Box Layout
    14. CSS Fonts
    15. CSS Fragmentation (en-US)
    16. CSS Generated Content (en-US)
    17. CSS Grid Layout
    18. Experimental CSS Houdini (en-US)
    19. CSS Images (en-US)
    20. CSS Lists (en-US)
    21. CSS Logical Properties and Values
    22. CSS Masking (en-US)
    23. CSS Miscellaneous (en-US)
    24. Experimental CSS Motion Path
    25. CSS Namespaces (en-US)
    26. CSS Paged Media (en-US)
    27. CSS Positioned Layout
    28. CSS Ruby Layout (en-US)
    29. CSS Scroll Snap (en-US)
    30. CSS Scroll Snap Points (en-US)
    31. CSS Scrollbars (en-US)
    32. CSS selectors
    33. CSS Shapes (en-US)
    34. CSS Table (en-US)
    35. CSS Text
    36. CSS Text Decoration (en-US)
    37. CSS Transforms
    38. CSS Transitions
    39. CSS data types
    40. CSS Custom Properties for Cascading Variables (en-US)
    41. CSS Writing Modes
    42. CSSOM View (en-US)
    43. Filter Effects (en-US)
    44. Media queries
    45. Pseudo-classes
    46. Pseudo-elements
    47. CSS reference
  8. Properties
    1. accent-color (en-US)
    2. align-content
    3. align-items
    4. align-self
    5. all
    6. animation
    7. animation-delay
    8. animation-direction
    9. animation-duration
    10. animation-fill-mode
    11. animation-iteration-count
    12. animation-name
    13. animation-play-state
    14. animation-timeline (en-US)
    15. animation-timing-function
    16. appearance
    17. aspect-ratio (en-US)
    18. backdrop-filter
    19. backface-visibility
    20. background
    21. background-attachment
    22. background-blend-mode
    23. background-clip
    24. background-color
    25. background-image
    26. background-origin
    27. background-position
    28. background-position-x (en-US)
    29. background-position-y (en-US)
    30. background-repeat
    31. background-size
    32. block-size
    33. border
    34. border-block
    35. border-block-color
    36. border-block-end
    37. border-block-end-color
    38. border-block-end-style
    39. border-block-end-width
    40. border-block-start
    41. border-block-start-color
    42. border-block-start-style
    43. border-block-start-width
    44. border-block-style
    45. border-block-width
    46. border-bottom
    47. border-bottom-color
    48. border-bottom-left-radius
    49. border-bottom-right-radius
    50. border-bottom-style
    51. border-bottom-width
    52. border-collapse
    53. border-color
    54. border-end-end-radius
    55. border-end-start-radius
    56. border-image
    57. border-image-outset
    58. border-image-repeat
    59. border-image-slice
    60. border-image-source (en-US)
    61. border-image-width (en-US)
    62. border-inline
    63. border-inline-color
    64. border-inline-end
    65. border-inline-end-color
    66. border-inline-end-style
    67. border-inline-end-width
    68. border-inline-start
    69. border-inline-start-color
    70. border-inline-start-style
    71. border-inline-start-width
    72. border-inline-style
    73. border-inline-width
    74. border-left
    75. border-left-color
    76. border-left-style (en-US)
    77. border-left-width (en-US)
    78. border-radius (en-US)
    79. border-right
    80. border-right-color (en-US)
    81. border-right-style (en-US)
    82. border-right-width (en-US)
    83. border-spacing
    84. border-start-end-radius
    85. border-start-start-radius
    86. border-style
    87. border-top
    88. border-top-color
    89. border-top-left-radius
    90. border-top-right-radius
    91. border-top-style (en-US)
    92. border-top-width (en-US)
    93. border-width
    94. bottom
    95. box-decoration-break (en-US)
    96. box-shadow
    97. box-sizing
    98. break-after (en-US)
    99. break-before (en-US)
    100. break-inside (en-US)
    101. caption-side (en-US)
    102. caret-color
    103. clear
    104. Deprecated clip
    105. clip-path (en-US)
    106. color
    107. color-scheme (en-US)
    108. column-count
    109. column-fill (en-US)
    110. column-gap (grid-column-gap)
    111. column-rule (en-US)
    112. column-rule-color (en-US)
    113. column-rule-style (en-US)
    114. column-rule-width (en-US)
    115. column-span
    116. column-width (en-US)
    117. columns (en-US)
    118. contain (en-US)
    119. content
    120. content-visibility (en-US)
    121. counter-increment (en-US)
    122. counter-reset (en-US)
    123. counter-set (en-US)
    124. cursor
    125. direction
    126. display
    127. empty-cells (en-US)
    128. filter
    129. flex
    130. flex-basis
    131. flex-direction
    132. flex-flow
    133. flex-grow
    134. flex-shrink
    135. flex-wrap
    136. float
    137. font
    138. font-family
    139. font-feature-settings (en-US)
    140. font-kerning (en-US)
    141. font-language-override
    142. font-optical-sizing (en-US)
    143. font-size
    144. font-size-adjust
    145. font-stretch (en-US)
    146. font-style
    147. font-synthesis (en-US)
    148. font-variant
    149. font-variant-alternates
    150. font-variant-caps (en-US)
    151. font-variant-east-asian (en-US)
    152. font-variant-ligatures (en-US)
    153. font-variant-numeric (en-US)
    154. font-variant-position (en-US)
    155. font-variation-settings (en-US)
    156. font-weight
    157. forced-color-adjust (en-US)
    158. gap (grid-gap)
    159. grid
    160. grid-area (en-US)
    161. grid-auto-columns
    162. grid-auto-flow (en-US)
    163. grid-auto-rows
    164. grid-column (en-US)
    165. grid-column-end (en-US)
    166. grid-column-start (en-US)
    167. grid-row (en-US)
    168. grid-row-end (en-US)
    169. grid-row-start (en-US)
    170. grid-template (en-US)
    171. grid-template-areas
    172. grid-template-columns
    173. grid-template-rows
    174. hanging-punctuation (en-US)
    175. height
    176. hyphenate-character (en-US)
    177. hyphens
    178. image-rendering
    179. Experimental image-resolution (en-US)
    180. Deprecated ime-mode
    181. Experimental initial-letter (en-US)
    182. Experimental initial-letter-align (en-US)
    183. inline-size
    184. inset
    185. inset-block
    186. inset-block-end
    187. inset-block-start
    188. inset-inline
    189. inset-inline-end
    190. inset-inline-start
    191. isolation
    192. justify-content
    193. justify-items (en-US)
    194. justify-self (en-US)
    195. left
    196. letter-spacing (en-US)
    197. line-break (en-US)
    198. line-height
    199. line-height-step (en-US)
    200. list-style
    201. list-style-image
    202. list-style-position
    203. list-style-type
    204. margin
    205. margin-block
    206. margin-block-end (en-US)
    207. margin-block-start
    208. margin-bottom
    209. margin-inline
    210. margin-inline-end
    211. margin-inline-start
    212. margin-left (en-US)
    213. margin-right
    214. margin-top (en-US)
    215. Experimental margin-trim (en-US)
    216. mask
    217. mask-border (en-US)
    218. mask-border-mode (en-US)
    219. mask-border-outset (en-US)
    220. mask-border-repeat (en-US)
    221. mask-border-slice (en-US)
    222. mask-border-source (en-US)
    223. mask-border-width (en-US)
    224. mask-clip
    225. mask-composite (en-US)
    226. mask-image
    227. mask-mode (en-US)
    228. mask-origin
    229. mask-position
    230. mask-repeat
    231. mask-size (en-US)
    232. mask-type (en-US)
    233. max-block-size
    234. max-height
    235. max-inline-size
    236. max-width (en-US)
    237. min-block-size
    238. min-height
    239. min-inline-size
    240. min-width
    241. mix-blend-mode
    242. object-fit
    243. object-position
    244. offset (en-US)
    245. offset-anchor (en-US)
    246. offset-distance (en-US)
    247. offset-path (en-US)
    248. Experimental offset-position (en-US)
    249. offset-rotate (en-US)
    250. opacity
    251. order
    252. orphans (en-US)
    253. outline
    254. outline-color
    255. outline-offset
    256. outline-style
    257. outline-width
    258. overflow
    259. overflow-anchor (en-US)
    260. overflow-block (en-US)
    261. overflow-clip-margin (en-US)
    262. overflow-inline (en-US)
    263. overflow-wrap (en-US)
    264. overflow-x (en-US)
    265. overflow-y
    266. overscroll-behavior (en-US)
    267. overscroll-behavior-block (en-US)
    268. overscroll-behavior-inline (en-US)
    269. overscroll-behavior-x (en-US)
    270. overscroll-behavior-y (en-US)
    271. padding
    272. padding-block-end
    273. padding-block-start
    274. padding-bottom
    275. padding-inline-end
    276. padding-inline-start
    277. padding-left (en-US)
    278. padding-right (en-US)
    279. padding-top
    280. page-break-after (en-US)
    281. page-break-before (en-US)
    282. page-break-inside (en-US)
    283. perspective
    284. perspective-origin (en-US)
    285. place-content (en-US)
    286. place-items (en-US)
    287. place-self (en-US)
    288. pointer-events (en-US)
    289. position
    290. print-color-adjust
    291. quotes
    292. resize
    293. right
    294. rotate (en-US)
    295. row-gap (grid-row-gap) (en-US)
    296. ruby-align (en-US)
    297. ruby-position (en-US)
    298. scale (en-US)
    299. scroll-behavior
    300. scroll-margin (en-US)
    301. scroll-margin-block (en-US)
    302. scroll-margin-block-end (en-US)
    303. scroll-margin-block-start (en-US)
    304. scroll-margin-bottom (en-US)
    305. scroll-margin-inline (en-US)
    306. scroll-margin-inline-end (en-US)
    307. scroll-margin-inline-start (en-US)
    308. scroll-margin-left (en-US)
    309. scroll-margin-right (en-US)
    310. scroll-margin-top (en-US)
    311. scroll-padding (en-US)
    312. scroll-padding-block-end (en-US)
    313. scroll-padding-block-start (en-US)
    314. scroll-padding-bottom (en-US)
    315. scroll-padding-inline (en-US)
    316. scroll-padding-inline-end (en-US)
    317. scroll-padding-inline-start (en-US)
    318. scroll-padding-left (en-US)
    319. scroll-padding-right (en-US)
    320. scroll-padding-top (en-US)
    321. Deprecated scroll-snap-coordinate (en-US)
    322. Deprecated scroll-snap-destination (en-US)
    323. Deprecated scroll-snap-points-x (en-US)
    324. Deprecated scroll-snap-points-y (en-US)
    325. scroll-snap-type (en-US)
    326. scrollbar-color (en-US)
    327. scrollbar-width (en-US)
    328. shape-image-threshold (en-US)
    329. shape-margin (en-US)
    330. shape-outside (en-US)
    331. tab-size (en-US)
    332. table-layout (en-US)
    333. text-align (en-US)
    334. text-align-last (en-US)
    335. text-combine-upright (en-US)
    336. text-decoration
    337. text-decoration-color
    338. text-decoration-line
    339. Experimental text-decoration-skip (en-US)
    340. text-decoration-skip-ink (en-US)
    341. text-decoration-style
    342. text-emphasis
    343. text-emphasis-color
    344. text-emphasis-position (en-US)
    345. text-emphasis-style (en-US)
    346. text-indent (en-US)
    347. text-justify (en-US)
    348. text-orientation
    349. text-overflow
    350. text-rendering (en-US)
    351. text-shadow
    352. Experimental text-size-adjust (en-US)
    353. text-transform
    354. text-underline-position (en-US)
    355. top
    356. touch-action (en-US)
    357. transform
    358. transform-box (en-US)
    359. transform-origin
    360. transform-style
    361. transition
    362. transition-delay
    363. transition-duration
    364. transition-property
    365. transition-timing-function (en-US)
    366. translate (en-US)
    367. unicode-bidi (en-US)
    368. user-select
    369. vertical-align
    370. visibility
    371. white-space
    372. widows
    373. width
    374. will-change (en-US)
    375. word-break (en-US)
    376. word-spacing (en-US)
    377. writing-mode
    378. z-index
  9. Selectors
    1. Adjacent sibling combinator
    2. Attribute selectors
    3. Child combinator
    4. Class selectors
    5. Experimental Column combinator (en-US)
    6. Descendant combinator
    7. General sibling combinator
    8. ID selectors
    9. Selector list (en-US)
    10. Type selectors
    11. Universal selectors
  10. Pseudo-classes
    1. :active
    2. :any-link
    3. :autofill
    4. Experimental :blank
    5. :checked
    6. :default
    7. :defined
    8. :dir()
    9. :disabled
    10. :empty
    11. :enabled
    12. :first
    13. :first-child
    14. :first-of-type
    15. :focus
    16. :focus-visible
    17. :focus-within
    18. :fullscreen
    19. :has()
    20. :host
    21. :host-context() (en-US)
    22. :host() (en-US)
    23. :hover
    24. :in-range
    25. :indeterminate
    26. :invalid
    27. :is() (:matches(), :any())
    28. :lang()
    29. :last-child
    30. :last-of-type
    31. :left
    32. :link
    33. :not()
    34. :nth-child()
    35. :nth-last-child()
    36. :nth-last-of-type()
    37. :nth-of-type()
    38. :only-child
    39. :only-of-type
    40. :optional
    41. :out-of-range
    42. :paused (en-US)
    43. :picture-in-picture (en-US)
    44. :placeholder-shown
    45. :playing (en-US)
    46. :read-only
    47. :read-write
    48. :required
    49. :right
    50. :root
    51. :scope (en-US)
    52. :target
    53. :user-invalid (:-moz-ui-invalid)
    54. :user-valid (:-moz-ui-valid) (en-US)
    55. :valid
    56. :visited
    57. :where() (en-US)
    58. Privacy and the :visited selector (en-US)
    59. Pseudo-classes
  11. Pseudo-elements
    1. ::after (:after)
    2. ::backdrop
    3. ::before (:before)
    4. ::cue
    5. ::cue-region (en-US)
    6. ::file-selector-button
    7. ::first-letter (:first-letter)
    8. ::first-line (:first-line)
    9. Experimental ::grammar-error (en-US)
    10. ::marker
    11. ::part() (en-US)
    12. ::placeholder
    13. ::selection
    14. ::slotted() (en-US)
    15. Experimental ::spelling-error
    16. ::target-text (en-US)
    17. Pseudo-elements
  12. At-rules
    1. @charset
    2. @color-profile (en-US)
    3. @counter-style
    4. Deprecated @document (en-US)
    5. @font-face
    6. @font-feature-values
    7. @import
    8. @keyframes
    9. @layer (en-US)
    10. @media
    11. @namespace
    12. @page
    13. Experimental @property (en-US)
    14. Experimental @scroll-timeline (en-US)
    15. @supports
    16. Deprecated @viewport (en-US)
  13. Types
    1. <alpha-value> (en-US)
    2. <angle>
    3. <angle-percentage> (en-US)
    4. <basic-shape>
    5. <blend-mode>
    6. <color>
    7. CSS Functional Notation (en-US)
    8. CSS data types
    9. <custom-ident> (en-US)
    10. <dimension> (en-US)
    11. <display-box> (en-US)
    12. <display-inside> (en-US)
    13. <display-internal> (en-US)
    14. <display-legacy> (en-US)
    15. <display-listitem> (en-US)
    16. <display-outside> (en-US)
    17. <easing-function> (en-US)
    18. <filter-function>
    19. <flex> (en-US)
    20. <frequency>
    21. <frequency-percentage> (en-US)
    22. <gradient>
    23. <hex-color> (en-US)
    24. ident (en-US)
    25. <image>
    26. <integer>
    27. <length>
    28. <length-percentage> (en-US)
    29. <number>
    30. <percentage>
    31. <position> (en-US)
    32. <ratio> (en-US)
    33. <resolution>
    34. Deprecated <shape> (en-US)
    35. <string> (en-US)
    36. <time>
    37. <time-percentage> (en-US)
    38. <transform-function>
    39. <translation-value> (en-US)
  14. Guides
  15. Animations
    1. Using CSS animations
  16. Backgrounds and Borders
    1. Using multiple backgrounds
    2. Resizing background images (en-US)
  17. Box alignment
    1. Box alignment in block layout (en-US)
    2. Box alignment in flexbox (en-US)
    3. Box alignment in grid layout (en-US)
    4. Box alignment in multi-column layout (en-US)
  18. Box model
    1. Introduction to the CSS basic box model
    2. Mastering margin collapsing
  19. Columns
    1. Basic concepts of Multicol (en-US)
    2. Styling columns (en-US)
    3. Spanning and balancing (en-US)
    4. Handling overflow in Multicol (en-US)
    5. Content breaks in Multicol (en-US)
  20. Conditional rules
    1. Using feature queries (en-US)
  21. CSSOM view
    1. Coordinate systems (en-US)
  22. Flexbox
    1. Basic concepts of Flexbox
    2. Comparison with other layout methods (en-US)
    3. Aligning items in a flex container
    4. Ordering flex items (en-US)
    5. Controlling flex item ratios (en-US)
    6. Mastering wrapping of flex items (en-US)
    7. Typical use cases of Flexbox
    8. Backwards compatibility of Flexbox
  23. Flow layout
    1. Block and Inline layout in normal flow (en-US)
    2. In flow and Out of flow (en-US)
    3. Formatting contexts explained (en-US)
    4. Flow layout and writing modes (en-US)
    5. Flow layout and overflow (en-US)
  24. Fonts
    1. OpenType font features guide (en-US)
    2. Variable fonts guide (en-US)
  25. Grid
    1. Basics concepts of grid layout
    2. Relationship to other layout methods
    3. Line-based placement (en-US)
    4. Grid template areas (en-US)
    5. Layout using named grid lines (en-US)
    6. Auto-placement in grid layout
    7. Box alignment in grid layout
    8. undefined (en-US)
    9. Grid layout and accessibility (en-US)
    10. Grid Layout and progressive enhancement (en-US)
    11. Realizing common layouts using grids
    12. Subgrid (en-US)
    13. Masonry layout (en-US)
  26. Images
    1. Using CSS gradients
  27. Lists and counters
    1. Using CSS counters (en-US)
    2. Consistent list indentation (en-US)
  28. Logical properties
    1. Basic concepts
    2. Floating and positioning
    3. undefined
    4. Sizing
  29. Media queries
    1. Using media queries
    2. Using media queries for accessibility (en-US)
    3. Testing media queries programmatically (en-US)
  30. Positioning
    1. Understanding CSS z-index
  31. Scroll snap
    1. Basic concepts of scroll snap (en-US)
    2. Browser compatibility and scroll snap (en-US)
  32. Shapes
    1. Overview of shapes (en-US)
    2. Shapes from box values (en-US)
    3. Basic shapes (en-US)
    4. Shapes from images (en-US)
  33. Text
    1. Wrapping and breaking text (en-US)
  34. Transforms
    1. Using transforms
  35. Transitions
    1. Using transitions
  36. Layout cookbook
    1. Media objects (en-US)
    2. Columns (en-US)
    3. Center an element (en-US)
    4. Sticky footers (en-US)
    5. Split navigation (en-US)
    6. Breadcrumb navigation (en-US)
    7. List group with badges (en-US)
    8. Pagination (en-US)
    9. Card (en-US)
    10. Grid wrapper (en-US)
  37. Tools
    1. Color picker
    2. Box shadow generator (en-US)
    3. Border image generator

In this article

  • Sumario

<integer>

Sumario

Un valor entero usado para algunas propiedades CSS que no tiene unidades.

Usado en

  • -moz-column-count (en-US)

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: 8 dic 2020, by MDN contributors

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.