• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • 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 Extensions

      Developing extensions for web browsers

    • Accessibility

      Learn to make the web accessible to all

    • Web Technology

      Web technology reference for developers

  • Learn
    • 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

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. Tecnología para desarrolladores web
  2. CSS
  3. <integer>
    • English (US)
    • Deutsch
    • Français
    • 日本語
    • 한국어
    • Русский
    • 中文 (简体)

Esta página ha sido traducida del inglés por la comunidad. Aprende más y únete a la comunidad de MDN Web Docs.

En este artículo

  • Sumario
  1. CSS
  2. Beginner's tutorials
  3. Your first website: Styling the content
  4. CSS styling basics
    1. Cómo funciona CSS
    2. Empezar con CSS
    3. Usa tu nuevo conocimiento
    4. Selectores CSS
    5. Selectores de atributo
    6. Pseudoclases y pseudoelementos
    7. Combinadores
    8. El modelo de caja
    9. Cascada y herencia
    10. Valores y unidades CSS
    11. Dimensionar elementos en CSS
    12. Fondos y bordes
    13. Contenido desbordado
    14. Imágenes, medios y elementos de formulario
    15. Estilizando tablas
    16. Depurar el CSS
    17. Comprensión de los fundamentos de CSS
    18. Challenge: Creating fancy letterheaded paper
    19. Challenge: A cool-looking box
  5. CSS text styling
    1. Fundamentos de texto y fuentes tipográficas
    2. Aplicación de estilo a listas
    3. Dar estilo a los enlaces
    4. Fuentes web
    5. Challenge: Typesetting a community school homepage
  6. CSS layout
    1. Introducción al diseño en CSS
    2. Floats
    3. Positioning
    4. Flexbox
    5. Cuadrículas
    6. Diseño receptivo
    7. Media query fundamentals
    8. Challenge: Fundamental layout comprehension
  7. Referencia CSS
  8. Modules
    1. CSS anchor positioning
    2. Animaciones CSS
    3. Fondos y bordes CSS
    4. CSS basic user interface
    5. CSS box alignment
    6. Modelo de Caja de CSS
    7. CSS box sizing
    8. CSS cascade and inheritance
    9. CSS color adjustment
    10. CSS Colors
    11. CSS compositing and blending
    12. CSS Reglas Condicionales
    13. CSS Containment
    14. CSS counter styles
    15. CSS custom properties for cascading variables
    16. CSS display
    17. CSS filter effects
    18. Diseño de caja flexible CSS
    19. CSS font loading
    20. CSS Fonts
    21. CSS fragmentation
    22. CSS generated content
    23. CSS Grid Layout
    24. CSS images
    25. CSS inline layout
    26. CSS lists and counters
    27. Propiedades y Valores Lógicos de CSS
    28. CSS masking
    29. Media queries
    30. CSS Motion Path
    31. Columnas CSS
    32. CSS namespaces
    33. CSS nesting
    34. CSS overflow
    35. CSS overscroll behavior
    36. CSS paged media
    37. Posicionamiento CSS
    38. CSS properties and values API
    39. CSS pseudo-elements
    40. CSS ruby layout
    41. CSS scoping
    42. CSS scroll snap
    43. CSS scroll-driven animations
    44. CSS scrollbars styling
    45. Selectores CSS
    46. Shadow parts de CSS
    47. CSS shapes
    48. CSS syntax
    49. CSS table
    50. Texto CSS
    51. CSS text decoration
    52. Transformaciones CSS
    53. CSS Transitions
    54. CSS view transitions
    55. CSS Writing Modes
    56. CSSOM view
  9. Properties
    1. -moz-*
      1. -moz-float-edge No estándar Obsoleto
      2. -moz-force-broken-image-icon No estándar Obsoleto
      3. -moz-image-region No estándar
      4. -moz-orient No estándar
      5. -moz-user-focus No estándar Obsoleto
      6. -moz-user-input No estándar Obsoleto
    2. -webkit-*
      1. -webkit-border-before No estándar
      2. -webkit-box-reflect No estándar
      3. -webkit-line-clamp
      4. -webkit-mask-box-image No estándar
      5. -webkit-mask-composite No estándar
      6. -webkit-mask-position-x No estándar
      7. -webkit-mask-position-y No estándar
      8. -webkit-mask-repeat-x No estándar
      9. -webkit-mask-repeat-y No estándar
      10. -webkit-tap-highlight-color No estándar
      11. -webkit-text-fill-color
      12. -webkit-text-security No estándar
      13. -webkit-text-stroke
      14. -webkit-text-stroke-color
      15. -webkit-text-stroke-width
      16. -webkit-touch-callout No estándar
    3. accent-color
    4. align-*
      1. align-content
      2. align-items
      3. align-self
    5. alignment-baseline
    6. all
    7. anchor-name Experimental
    8. animation-*
      1. animation
      2. animation-composition
      3. animation-delay
      4. animation-direction
      5. animation-duration
      6. animation-fill-mode
      7. animation-iteration-count
      8. animation-name
      9. animation-play-state
      10. animation-range Experimental
      11. animation-range-end Experimental
      12. animation-range-start Experimental
      13. animation-timeline Experimental
      14. animation-timing-function
    9. -moz-appearance (-webkit-appearance)
    10. aspect-ratio
    11. backdrop-filter
    12. backface-visibility
    13. background-*
      1. background
      2. background-attachment
      3. background-blend-mode
      4. background-clip
      5. background-color
      6. background-image
      7. background-origin
      8. background-position
      9. background-position-x
      10. background-position-y
      11. background-repeat
      12. background-size
    14. block-size
    15. border-*
      1. border
      2. border-block
      3. border-block-color
      4. border-block-end
      5. border-block-end-color
      6. border-block-end-style
      7. border-block-end-width
      8. border-block-start
      9. border-block-start-color
      10. border-block-start-style
      11. border-block-start-width
      12. border-block-style
      13. border-block-width
      14. border-bottom
      15. border-bottom-color
      16. border-bottom-left-radius
      17. border-bottom-right-radius
      18. border-bottom-style
      19. border-bottom-width
      20. border-collapse
      21. border-color
      22. border-end-end-radius
      23. border-end-start-radius
      24. border-image
      25. border-image-outset
      26. border-image-repeat
      27. border-image-slice
      28. border-image-source
      29. border-image-width
      30. border-inline
      31. border-inline-color
      32. border-inline-end
      33. border-inline-end-color
      34. border-inline-end-style
      35. border-inline-end-width
      36. border-inline-start
      37. border-inline-start-color
      38. border-inline-start-style
      39. border-inline-start-width
      40. border-inline-style
      41. border-inline-width
      42. border-left
      43. border-left-color
      44. border-left-style
      45. border-left-width
      46. border-radius
      47. border-right
      48. border-right-color
      49. border-right-style
      50. border-right-width
      51. border-spacing
      52. border-start-end-radius
      53. border-start-start-radius
      54. border-style
      55. border-top
      56. border-top-color
      57. border-top-left-radius
      58. border-top-right-radius
      59. border-top-style
      60. border-top-width
      61. border-width
    16. bottom
    17. box-*
      1. box-align No estándar Obsoleto
      2. box-decoration-break
      3. box-direction No estándar Obsoleto
      4. -moz-box-flex No estándar Obsoleto
      5. box-flex-group No estándar Obsoleto
      6. box-lines No estándar Obsoleto
      7. -moz-box-ordinal-group No estándar Obsoleto
      8. box-orient No estándar Obsoleto
      9. -moz-box-pack No estándar Obsoleto
      10. box-shadow
      11. box-sizing
    18. break-*
      1. break-after
      2. break-before
      3. break-inside
    19. caption-side
    20. caret-color
    21. clear
    22. clip-*
      1. clip Obsoleto
      2. clip-path
      3. clip-rule
    23. color-*
      1. color
      2. color-interpolation
      3. color-interpolation-filters
      4. color-scheme
    24. column-*
      1. column-count
      2. column-fill
      3. grid-column-gap
      4. column-rule
      5. column-rule-color
      6. column-rule-style
      7. column-rule-width
      8. column-span
      9. column-width
    25. columns
    26. contain-*
      1. contain
      2. contain-intrinsic-block-size
      3. contain-intrinsic-height
      4. contain-intrinsic-inline-size
      5. contain-intrinsic-size
      6. contain-intrinsic-width
    27. container-*
      1. container
      2. container-name
      3. container-type
    28. content
    29. content-visibility
    30. counter-*
      1. counter-increment
      2. counter-reset
      3. counter-set
    31. cursor
    32. cx
    33. cy
    34. d
    35. direction
    36. display
    37. dominant-baseline
    38. empty-cells
    39. field-sizing Experimental
    40. fill-*
      1. fill
      2. fill-opacity
      3. fill-rule
    41. filter
    42. flex-*
      1. flex
      2. flex-basis
      3. flex-direction
      4. flex-flow
      5. flex-grow
      6. flex-shrink
      7. flex-wrap
    43. float
    44. flood-color
    45. flood-opacity
    46. font-*
      1. font
      2. font-family
      3. font-feature-settings
      4. font-kerning
      5. font-language-override
      6. font-optical-sizing
      7. font-palette
      8. font-size
      9. font-size-adjust
      10. font-smooth No estándar
      11. font-stretch
      12. font-style
      13. font-synthesis
      14. font-synthesis-position Experimental
      15. font-synthesis-small-caps
      16. font-synthesis-style
      17. font-synthesis-weight
      18. font-variant
      19. font-variant-alternates
      20. font-variant-caps
      21. font-variant-east-asian
      22. font-variant-emoji
      23. font-variant-ligatures
      24. font-variant-numeric
      25. font-variant-position
      26. font-variation-settings
      27. font-weight
    47. forced-color-adjust
    48. grid-gap
    49. grid-*
      1. grid
      2. grid-area
      3. grid-auto-columns
      4. grid-auto-flow
      5. grid-auto-rows
      6. grid-column
      7. grid-column-end
      8. grid-column-start
      9. grid-row
      10. grid-row-end
      11. grid-row-start
      12. grid-template
      13. grid-template-areas
      14. grid-template-columns
      15. grid-template-rows
    50. hanging-punctuation
    51. height
    52. hyphenate-character
    53. hyphenate-limit-chars
    54. hyphens
    55. image-*
      1. image-orientation
      2. image-rendering
      3. image-resolution Experimental
    56. initial-letter
    57. inline-size
    58. inset-*
      1. inset
      2. inset-block
      3. inset-block-end
      4. inset-block-start
      5. inset-inline
      6. inset-inline-end
      7. inset-inline-start
    59. interpolate-size Experimental
    60. Isolation
    61. justify-*
      1. justify-content
      2. justify-items
      3. justify-self
    62. left
    63. letter-spacing
    64. lighting-color
    65. line-*
      1. line-break
      2. line-height
      3. line-height-step Experimental
    66. list-*
      1. list-style
      2. list-style-image
      3. list-style-position
      4. list-style-type
    67. margin-*
      1. margin
      2. margin-block
      3. margin-block-end
      4. margin-block-start
      5. margin-bottom
      6. margin-inline
      7. margin-inline-end
      8. margin-inline-start
      9. margin-left
      10. margin-right
      11. margin-top
      12. margin-trim Experimental
    68. marker-*
      1. marker
      2. marker-end
      3. marker-mid
      4. marker-start
    69. mask-*
      1. -webkit-mask
      2. mask-border
      3. mask-border-mode
      4. mask-border-outset
      5. mask-border-repeat
      6. mask-border-slice
      7. mask-border-source
      8. mask-border-width
      9. -webkit-mask-clip
      10. mask-composite
      11. -webkit-mask-image
      12. mask-mode
      13. -webkit-mask-origin
      14. -webkit-mask-position
      15. -webkit-mask-repeat
      16. mask-size
      17. mask-type
    70. math-*
      1. math-depth
      2. math-shift Experimental
      3. math-style
    71. max-*
      1. max-block-size
      2. max-height
      3. max-inline-size
      4. max-width
    72. min-*
      1. min-block-size
      2. min-height
      3. min-inline-size
      4. min-width
    73. mix-blend-mode
    74. object-fit
    75. object-position
    76. offset-*
      1. offset
      2. offset-anchor
      3. offset-distance
      4. offset-path
      5. offset-position
      6. offset-rotate
    77. opacity
    78. order
    79. orphans
    80. outline-*
      1. outline
      2. outline-color
      3. outline-offset
      4. outline-style
      5. outline-width
    81. overflow-*
      1. overflow (excedente)
      2. overflow-anchor
      3. overflow-block
      4. overflow-clip-margin
      5. overflow-inline
      6. overflow-wrap
      7. overflow-x
      8. overflow-y
    82. overlay Experimental
    83. overscroll-*
      1. overscroll-behavior
      2. overscroll-behavior-block
      3. overscroll-behavior-inline
      4. overscroll-behavior-x
      5. overscroll-behavior-y
    84. padding-*
      1. padding
      2. padding-block
      3. padding-block-end
      4. padding-block-start
      5. padding-bottom
      6. padding-inline
      7. padding-inline-end
      8. padding-inline-start
      9. padding-left
      10. padding-right
      11. padding-top
    85. page-*
      1. page
      2. page-break-after
      3. page-break-before
      4. page-break-inside
    86. paint-order
    87. perspective
    88. perspective-origin
    89. place-*
      1. place-content
      2. place-items
      3. place-self
    90. pointer-events
    91. position-*
      1. position
      2. position-anchor Experimental
      3. position-area Experimental
      4. position-try Experimental
      5. position-try-fallbacks Experimental
      6. position-try-order Experimental
      7. position-visibility Experimental
    92. -webkit-print-color-adjust
    93. quotes
    94. r
    95. resize
    96. right
    97. rotate
    98. row-gap
    99. ruby-align
    100. ruby-position
    101. rx
    102. ry
    103. scale
    104. scroll-*
      1. scroll-behavior
      2. scroll-margin
      3. scroll-margin-block
      4. scroll-margin-block-end
      5. scroll-margin-block-start
      6. scroll-margin-bottom
      7. scroll-margin-inline
      8. scroll-margin-inline-end
      9. scroll-margin-inline-start
      10. scroll-margin-left
      11. scroll-margin-right
      12. scroll-margin-top
      13. scroll-padding
      14. scroll-padding-block
      15. scroll-padding-block-end
      16. scroll-padding-block-start
      17. scroll-padding-bottom
      18. scroll-padding-inline
      19. scroll-padding-inline-end
      20. scroll-padding-inline-start
      21. scroll-padding-left
      22. scroll-padding-right
      23. scroll-padding-top
      24. scroll-snap-align
      25. scroll-snap-stop
      26. scroll-snap-type
      27. scroll-timeline Experimental
      28. scroll-timeline-axis Experimental
      29. scroll-timeline-name Experimental
    105. scrollbar-*
      1. scrollbar-color
      2. scrollbar-gutter
      3. scrollbar-width
    106. shape-*
      1. shape-image-threshold
      2. shape-margin
      3. shape-outside
      4. shape-rendering
    107. stop-color
    108. stop-opacity
    109. stroke-*
      1. stroke
      2. stroke-dasharray
      3. stroke-dashoffset
      4. stroke-linecap
      5. stroke-linejoin
      6. stroke-miterlimit
      7. stroke-opacity
      8. stroke-width
    110. tab-size
    111. table-layout
    112. text-*
      1. text-align
      2. text-align-last
      3. text-anchor
      4. text-combine-upright
      5. text-decoration
      6. text-decoration-color
      7. text-decoration-line
      8. text-decoration-skip Experimental
      9. text-decoration-skip-ink
      10. text-decoration-style
      11. text-decoration-thickness
      12. text-emphasis
      13. text-emphasis-color
      14. text-emphasis-position
      15. text-emphasis-style
      16. text-indent
      17. text-justify
      18. text-orientation
      19. text-overflow
      20. text-rendering
      21. text-shadow
      22. text-size-adjust Experimental
      23. text-spacing-trim Experimental
      24. text-transform
      25. text-underline-offset
      26. text-underline-position
      27. text-wrap
      28. text-wrap-mode
      29. text-wrap-style
    113. timeline-scope Experimental
    114. Top
    115. touch-action
    116. transform-*
      1. transform
      2. transform-box
      3. transform-origin
      4. transform-style
    117. transition-*
      1. transition
      2. transition-behavior
      3. transition-delay
      4. transition-duration
      5. transition-property
      6. transition-timing-function
    118. translate
    119. unicode-bidi
    120. -moz-user-modify No estándar Obsoleto
    121. user-select
    122. vector-effect
    123. vertical-align
    124. view-*
      1. view-timeline Experimental
      2. view-timeline-axis Experimental
      3. view-timeline-inset Experimental
      4. view-timeline-name Experimental
      5. view-transition-name
    125. visibility
    126. white-space
    127. white-space-collapse
    128. widows
    129. width
    130. will-change
    131. word-break
    132. word-spacing
    133. writing-mode
    134. x
    135. y
    136. z-index
    137. zoom
  10. Selectors
    1. & nesting selector
    2. Selectores de atributo
    3. Selectores de clase
    4. Selectores de ID
    5. Selectores de tipo
    6. Selectores universales
  11. Combinators
    1. Selectores de hijo
    2. Column combinator Experimental
    3. Los selectores descendientes
    4. Namespace separator
    5. Selectores de hermanos adyacentes
    6. Selector list
    7. Selectores de hermanos generales
  12. Pseudo-classes
    1. :-moz-broken No estándar Obsoleto
    2. :-moz-drag-over No estándar
    3. :-moz-first-node Experimental No estándar
    4. :-moz-handler-blocked No estándar
    5. :-moz-handler-crashed No estándar
    6. :-moz-handler-disabled No estándar
    7. :-moz-last-node Experimental No estándar
    8. :-moz-loading No estándar
    9. :-moz-locale-dir(ltr) No estándar
    10. :-moz-locale-dir(rtl) No estándar
    11. :-moz-only-whitespace No estándar
    12. :-moz-submit-invalid No estándar
    13. :-moz-suppressed No estándar
    14. :-moz-user-disabled No estándar
    15. :-moz-window-inactive No estándar
    16. :active
    17. :any-link
    18. :-webkit-autofill
    19. :blank Experimental
    20. :buffering
    21. :checked
    22. :current Experimental
    23. :default
    24. :defined
    25. :dir()
    26. :disabled
    27. :empty
    28. :enabled
    29. :first
    30. :first-child
    31. :first-of-type
    32. :focus
    33. :focus-visible
    34. :focus-within
    35. :fullscreen
    36. :future
    37. :has-slotted Experimental
    38. :has
    39. :host
    40. :host-context()
    41. :host()
    42. :hover
    43. :in-range
    44. :indeterminate
    45. :invalid
    46. :is()
    47. :lang
    48. :last-child
    49. :last-of-type
    50. :left
    51. :link
    52. :local-link Experimental
    53. :modal
    54. :muted
    55. :not()
    56. :nth-child
    57. :nth-last-child
    58. :nth-last-of-type()
    59. :nth-of-type
    60. :only-child
    61. :only-of-type
    62. :optional
    63. :out-of-range
    64. :past
    65. :paused
    66. :picture-in-picture
    67. :placeholder-shown
    68. :playing
    69. :popover-open
    70. :read-only
    71. :read-write
    72. :required
    73. :right
    74. :root
    75. :scope
    76. :seeking
    77. :stalled
    78. :state()
    79. :target
    80. :target-within Experimental
    81. :-moz-ui-invalid
    82. :user-valid
    83. :valid
    84. :visited
    85. :volume-locked
    86. :where()
  13. Pseudo-elements
    1. ::-moz-color-swatch No estándar
    2. ::-moz-focus-inner Experimental No estándar
    3. ::-moz-list-bullet Experimental No estándar
    4. ::-moz-list-number Experimental No estándar
    5. ::-moz-meter-bar No estándar
    6. ::-moz-progress-bar Experimental No estándar
    7. ::-moz-range-progress No estándar
    8. ::-moz-range-thumb No estándar
    9. ::-moz-range-track No estándar
    10. ::-webkit-inner-spin-button No estándar
    11. ::-webkit-meter-bar No estándar Obsoleto
    12. ::-webkit-meter-even-less-good-value No estándar
    13. ::-webkit-meter-inner-element No estándar
    14. ::-webkit-meter-optimum-value No estándar
    15. ::-webkit-meter-suboptimum-value No estándar
    16. ::-webkit-progress-bar No estándar
    17. ::-webkit-progress-inner-element No estándar
    18. ::-webkit-progress-value No estándar
    19. ::-webkit-scrollbar No estándar
    20. ::-webkit-search-cancel-button No estándar
    21. ::-webkit-search-results-button No estándar
    22. ::-webkit-slider-runnable-track Experimental No estándar
    23. ::-webkit-slider-thumb Experimental No estándar
    24. ::after (:after)
    25. ::backdrop
    26. ::before (:before)
    27. ::cue
    28. ::details-content Experimental
    29. ::file-selector-button
    30. ::first-letter (:first-letter)
    31. ::first-line (:first-line)
    32. ::grammar-error
    33. ::highlight()
    34. ::marker
    35. ::part()
    36. ::placeholder
    37. ::selection
    38. ::slotted()
    39. ::spelling-error
    40. ::target-text
    41. ::view-transition
    42. ::view-transition-group
    43. ::view-transition-image-pair
    44. ::view-transition-new
    45. ::view-transition-old
  14. At-rules
    1. @charset
    2. @color-profile
    3. @container
    4. @counter-style
    5. @document No estándar Obsoleto
    6. @font-face
    7. @font-feature-values
    8. @font-palette-values
    9. @import
    10. @keyframes
    11. @layer
    12. @media
    13. @namespace
    14. @page
    15. @position-try Experimental
    16. @property
    17. @scope
    18. @starting-style
    19. @supports
    20. @view-transition
  15. Functions
    1. -moz-image-rect No estándar Obsoleto
    2. abs()
    3. acos()
    4. anchor-size() Experimental
    5. anchor() Experimental
    6. asin()
    7. atan()
    8. atan2()
    9. attr
    10. calc-size() Experimental
    11. calc
    12. clamp()
    13. cos()
    14. counter()
    15. counters()
    16. cross-fade()
    17. element() Experimental
    18. env()
    19. exp()
    20. fit-content()
    21. hypot()
    22. log()
    23. max()
    24. min()
    25. minmax()
    26. mod()
    27. pow()
    28. ray()
    29. rem()
    30. repeat()
    31. round()
    32. sign()
    33. sin()
    34. sqrt()
    35. symbols()
    36. tan()
    37. url()
    38. var()
  16. Types
    1. <absolute-size>
    2. <alpha-value>
    3. <angle-percentage>
    4. <angle>
    5. <baseline-position>
    6. <basic-shape>
    7. <blend-mode>
    8. <box-edge>
    9. <calc-keyword>
    10. <calc-sum>
    11. <color-interpolation-method>
    12. <color>
    13. <content-distribution>
    14. <content-position>
    15. <custom-ident>
    16. <dashed-ident>
    17. <dimension>
    18. <display-box>
    19. <display-inside>
    20. <display-internal>
    21. <display-legacy>
    22. <display-listitem>
    23. <display-outside>
    24. <easing-function>
    25. <filter-function>
    26. <flex>
    27. <frequency-percentage>
    28. <frequency>
    29. <generic-family>
    30. <gradient>
    31. <hex-color>
    32. <hue-interpolation-method>
    33. <hue>
    34. <ident>
    35. <image>
    36. <integer>
    37. <length-percentage>
    38. <length>
    39. <line-style>
    40. <named-color>
    41. <number>
    42. <overflow-position>
    43. <overflow>
    44. <percentage>
    45. <position-area> Experimental
    46. <position>
    47. <ratio>
    48. <relative-size>
    49. <resolution>
    50. <self-position>
    51. <shape> Obsoleto
    52. <string>
    53. <system-color>
    54. <time-percentage>
    55. <time>
    56. transform-function
    57. url()
  17. Guides
  18. Animations
    1. Usando animaciones CSS
  19. Backgrounds and Borders
    1. Usando múltiples fondos con CSS
    2. Resizing background images
  20. Box alignment
    1. Box alignment in block layout
    2. Box alignment in flexbox
    3. Box alignment in grid layout
    4. Box alignment in multi-column layout
  21. Box model
    1. Introducción al modelo de caja básico de CSS
    2. Entendiendo el colapso de margen
  22. Colors
    1. Applying_color_to_HTML_elements
    2. Color values
    3. Using relative colors
    4. Using color wisely
    5. Accessibility_Understanding_colors_and_luminance"
    6. Accessibility: Color contrast
  23. Columns
    1. Basic concepts of multi-column layout
    2. Styling columns
    3. Spanning and balancing columns
    4. Handling overflow in multi-column layout
    5. Handling content breaks in multi-column layout
  24. Conditional rules
    1. Using feature queries
  25. Containment
    1. Using CSS containment
    2. CSS Container Queries
    3. Using container size and style queries
  26. CSSOM view
    1. Coordinate systems
  27. Flexbox
    1. Conceptos Básicos de flexbox
    2. Relationship of flexbox to other layout methods
    3. Aligning Items in a Flex Container
    4. Ordering flex items
    5. Controlling ratios of flex items along the main axis
    6. Mastering wrapping of flex items
    7. Casos de uso típicos de Flexbox
  28. Flow layout
    1. Block and inline layout in normal flow
    2. In flow and out of flow
    3. Introduction to formatting contexts
    4. Flow layout and writing modes
    5. Flow layout and overflow
  29. Fonts
    1. OpenType font features guide
    2. Variable fonts guide
  30. Grid
    1. Basic concepts of grid layout
    2. Relación de Grid Layout con otros métodos de diseño y posicionamiento - CSS
    3. Grid layout using line-based placement
    4. Grid template areas
    5. Layout using named grid lines
    6. Colocación automática en diseño de cuadrícula CSS
    7. Box alignment in CSS Grid Layout
    8. Grids, logical values, and writing modes
    9. Grid layout and accessibility
    10. CSS grid layout and progressive enhancement
    11. Realizing common layouts using CSS Grid Layout
    12. Subgrid
    13. Masonry layout Experimental
  31. Images
    1. Usando degradados con CSS
  32. Lists and counters
    1. Using CSS counters
    2. Consistent list indentation
  33. Logical properties
    1. Conceptos básicos de las Propiedades y Valores Lógicos
    2. Propiedades lógicas para flotantes y posicionamiento
    3. Propiedades lógicas para márgenes, bordes y rellenos
    4. Dimensionamiento para propiedades lógicas
  34. Math functions
    1. Using CSS math functions
  35. Media queries
    1. Uso de media queries
    2. Using media queries for accessibility
    3. Testing media queries programmatically
    4. Printing
  36. Nesting style rules
    1. Using CSS nesting
    2. CSS nesting at-rules
    3. CSS nesting and specificity
  37. Positioning
    1. Entendiendo la propiedad CSS z-index
  38. Scroll snap
    1. Basic concepts of scroll snap
  39. Shapes
    1. Overview of shapes
    2. Shapes from box values
    3. Basic shapes with shape-outside
    4. Shapes from images
  40. Text
    1. Wrapping and breaking text
  41. Transforms
    1. Uso de CSS transforms
  42. Transitions
    1. Transiciones de CSS
  43. Libro de recetas de maquetación CSS
    1. Recipe: Media objects
    2. Column layouts
    3. Center an element
    4. Sticky footers
    5. Split navigation
    6. Breadcrumb navigation
    7. List group with badges
    8. Pagination
    9. Card
    10. Grid wrapper
  44. Tools
    1. Herramienta para seleccionar color
    2. Box-shadow generator
    3. Generador Border-image
    4. Generador de border-radius

En este artículo

  • Sumario

<integer>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

  • Learn more
  • See full compatibility
  • Report feedback

Sumario

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

Usado en

  • -moz-column-count

Help improve MDN

Learn how to contribute.

This page was last modified on 26 nov 2022 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
Mozilla logo
  • 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–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.