If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: es.w3docs.com/learn-css/box-sizing - Propiedad CSS box-sizing | W3d.

site address: es.w3docs.com/learn-css/box-sizing redirected to: es.w3docs.com/learn-css/box-sizing

site title: Propiedad CSS box-sizing W3docs

Our opinion (on Saturday 03 October 2026 9:59:29 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=La propiedad box-sizing define el cálculo del ancho y alto de un elemento. Ver ejemplos y probarlos.;

Headings (most frequently used words):

de, box, la, propiedad, sizing, al, con, ejemplo, css, cómo, el, modelo, caja, afecta, tamaño, sintaxis, aplicar, border, toda, página, compatibilidad, navegadores, valores, práctica, resultado, dos, cajas, borde, colocadas, una, lado, otra,

Text of the page (most frequently used words):
#border (74), box (58), width (32), css (30), padding (28), #sizing (24), text (21), style (20), font (20), color (19), los (18), grid (18), con (17), que (17), div (17), aprender (15), una (15), height (14), content (14), html (13), left (13), column (13), propiedad (12), right (12), background (12), break (11), ancho (11), caja (10), del (10), margin (9), elemento (9), valor (9), top (9), bottom (9), image (9), animation (9), position (8), stroke (8), para (7), alto (7), las (7), por (7), overflow (7), decoration (7), offset (7), flex (7), todos (6), page (6), after (6), elementos (6), class (6), ejemplo (6), align (6), type (6), variant (6), w3docs (5), sintaxis (5), tamaño (5), incluyen (5), before (5), más (5), dos (5), lado (5), the (5), transition (5), line (5), last (5), outline (5), radius (5), child (5), formatter (5), generator (4), práctica (4), navegadores (4), toda (4), página (4), cómo (4), contenido (4), predeterminado (4), propiedades (4), css3 (4), mayoría (4), copiar (4), body (4), head (4), cada (4), 400px (4), ver (4), mode (4), transform (4), fill (4), size (4), list (4), template (4), row (4), gap (4), rule (4), nth (4), first (4), json (3), code (3), encoder (3), editor (3), cuestionarios (3), ejercicios (3), php (3), javascript (3), valores (3), this (3), shadow (3), qué (3), hace (3), initial (3), cajas (3), reset (3), side (3), 100 (3), otra (3), dentro (3), and (3), 400 (3), object (3), word (3), wrap (3), spacing (3), range (3), origin (3), justify (3), items (3), max (3), letter (3), columns (3), auto (3), direction (3), clip (3), only (3), string (3), tools (3), italiano (2), português (2), español (2), français (2), русский (2), deutsch (2), english (2), beautifier (2), diff (2), password (2), herramientas (2), python (2), java (2), git (2), libros (2), ejemplos (2), fragmentos (2), compatibilidad (2), aplicar (2), modelo (2), afecta (2), utiliza (2), establecer (2), establece (2), permite (2), total (2), inherit (2), pero (2), selectores (2), este (2), hojas (2), estilo (2), pruébalo (2), mismo (2), clear (2), part (2), container (2), example (2), float (2), 1c87c9 (2), double (2), doctype (2), diseños (2), tamaños (2), sin (2), renderizada (2), ancha (2), porque (2), declarados (2), exactamente (2), all (2), full (2), div2 (2), 510px (2), div1 (2), default (2), mitad (2), contenedor (2), esta (2), renderizado (2), añaden (2), encima (2), visibility (2), unicode (2), timing (2), function (2), duration (2), delay (2), rendering (2), skip (2), perspective (2), inside (2), anchor (2), path (2), blend (2), min (2), rows (2), start (2), end (2), flow (2), feature (2), display (2), empty (2), counter (2), count (2), repeat (2), read (2), hash (2), 2026, derechos, reservados, hecho, desarrolladores, idioma, política, privacidad, contacto, acerca, empresa, try, tutoriales, gratuitos, web, desde, 2014, next, previous, yes, was, helpful, comprobar, evita, desborde, calcular, nos, incluir, hereda, padre, descripción, compatible, modernos, incluidas, versiones, actuales, chrome, firefox, safari, edge, característica, estable, necesita, prefijos, proveedor, hoy, garantizan, generado, sigan, misma, regla, tras, significan, incluyendo, lados, personas, esperan, intuitivamente, lugar, individuales, proyectos, aplican, vez, usando, selector, universal, común, modernas, both, here, you, can, see, two, bordered, boxes, defined, ccc, solid, aquí, queden, aunque, tenga, propio, bordes, harían, combinado, superara, forzarían, segunda, nueva, línea, flotantes, borde, colocadas, recurrirás, frecuencia, construir, sean, predecibles, elimina, clase, problemas, puedes, añadir, recalcular, anchos, declarado, suman, absorben, mantiene, especificado, resultado, apply, parts, element, for, set, thus, 10px, 100px, 8ebf42, dashed, siguiente, muestra, declaraciones, idénticas, solo, difieren, suficiente, rendericen, diferentes, boxsizing, dom, versión, animable, heredado, aceptan, aplica, inicial, permanece, importar, cuánto, añada, eso, reinician, ocupa, realidad, espacio, horizontal, fuente, frecuente, errores, diseño, columnas, cualquier, cabrán, acaba, siendo, 5px, 50px, defecto, establecen, únicamente, grande, escribiste, área, explica, diferencia, entre, modelos, moderno, aplicarlo, controla, calculan, concretamente, cuentan, esas, dimensiones, ellas, define, cálculo, probarlos, zoom, index, writing, will, change, widows, white, space, vertical, user, select, bidi, property, underline, orientation, indent, ink, combine, upright, table, layout, tab, linecap, dashoffset, dasharray, speak, shape, outside, scrollbar, scroll, behavior, resize, quotes, pointer, events, place, orphans, order, opacity, rotate, distance, fit, mix, media, lines, clamp, keyframes, isolation, import, hyphens, hanging, punctuation, areas, area, weight, numeric, ligatures, east, asian, caps, alternates, stretch, language, override, adjust, kerning, values, settings, family, face, shrink, grow, basis, filter, cells, cursor, increment, span, charset, caret, caption, source, slice, outset, collapse, block, bleed, attachment, backface, appearance, play, state, name, iteration, self, properties, visited, valid, target, selection, scope, root, required, write, placeholder, out, optional, not, link, lang, invalid, indeterminate, hover, fullscreen, focus, enabled, disabled, dir, checked, active, selectors, guía, flexbox, guides, gradientes, nombres, colores, tablas, links, texto, uso, introducción, basic, iniciar, sesión, buscar, formatters, url, reverse, sha256, md5, length, calculator, colors, hsl, hex, mixer, converter, picker, general, cursos,


Text of the page (random words):
propiedad css box sizing w3docs w3docs libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python cursos cuestionarios ejercicios fragmentos herramientas general tools html editor password generator html encoder code diff json beautifier ver los 13 color tools color picker color converter color mixer color hex colors hsl ver los 10 string tools string length calculator md5 hash generator sha256 hash generator string reverse url encoder ver los 19 code formatters javascript formatter css formatter html formatter json formatter php formatter buscar en w3docs k es english en deutsch de русский ru français fr español es português pt italiano it iniciar sesión aprender css css basic introducción a css uso de css sintaxis css css id y class texto en css css font css links tablas css css border css padding css margin nombres de colores css gradientes css css guides guía de flexbox propiedades de css3 css selectors selectores css active after before checked default dir disabled empty enabled first child first letter first line first of type focus fullscreen hover in range indeterminate invalid lang last child last of type link not nth child nth last child nth last of type nth of type only child only of type optional out of range placeholder read only read write required root scope selection target valid visited css properties align content align items all animation align self animation delay animation direction animation duration animation fill mode animation iteration count animation name animation play state animation timing function appearance backface visibility background background attachment background blend mode background clip background color background image background origin background position background position x background position y background repeat background size bleed block overflow border border bottom border bottom color border bottom left radius border bottom right radius border bottom style border bottom width border collapse border color border image border image outset border image repeat border image slice border image source border image width border left border left color border left style border left width border radius border right border right color border right style border right width border spacing border style border top border top color border top left radius border top right radius border top style border top width border width bottom box decoration break box shadow box sizing break after break before break inside caption side caret color charset clear clip clip path color columns column count column fill column gap column rule column rule color column rule style column rule width column span column width content counter increment counter reset cursor direction display empty cells fill filter flex flex basis flex direction flex flow flex grow flex shrink flex wrap float font font face font display font family font feature settings font feature values font kerning font size font size adjust font language override font stretch font style font variant font variant alternates font variant caps font variant east asian font variant ligatures font variant numeric font weight grid grid area grid auto columns grid auto flow grid auto rows grid column grid column end grid column gap grid column start grid gap grid row grid row end grid row gap grid row start grid template grid template areas grid template columns grid template rows hanging punctuation height hyphens image rendering import initial letter isolation justify content justify items keyframes left letter spacing line break line clamp line height list style list style image list style position list style type margin margin bottom margin left margin right margin top max height max lines max width media min height min width mix blend mode object fit object position offset offset anchor offset distance offset path offset position offset rotate opacity order orphans outline outline color outline offset outline style outline width overflow overflow anchor overflow wrap overflow x overflow y padding padding bottom padding left padding right padding top page break page break after page break before page break inside perspective perspective origin place items pointer events position quotes resize right scroll behavior scrollbar shape outside speak stroke stroke dasharray stroke dashoffset stroke linecap stroke width tab size table layout text align text align last text combine upright text decoration text decoration color text decoration line text decoration skip text decoration skip ink text decoration style text fill color text indent text justify text orientation text overflow text rendering text shadow text stroke text stroke color text stroke width text transform text underline position top transform transform origin transform style transition transition delay transition duration transition property transition timing function unicode bidi unicode range user select vertical align visibility white space widows width will change word break word spacing word wrap writing mode z index zoom propiedad css box sizing la propiedad box sizing define el cálculo del ancho y alto de un elemento ver ejemplos y probarlos la propiedad box sizing controla cómo se calculan el width y el height de un elemento concretamente si el padding y el border se cuentan dentro de esas dimensiones o se añaden por encima de ellas es una de las propiedades de css3 esta página explica la diferencia entre los dos modelos de caja content box y border box por qué border box es el valor predeterminado moderno para la mayoría de los diseños y cómo aplicarlo a toda una página cómo el modelo de caja afecta al tamaño por defecto content box width y height establecen únicamente el tamaño del área de contenido el padding y el border se añaden encima por lo que la caja renderizada es más grande que el valor que escribiste ancho padding border ancho renderizado del elemento alto padding border alto renderizado del elemento por ejemplo una caja con width 400px padding 50px en cada lado y un border de 5px en cada lado ocupa en realidad 400 100 10 510px de espacio horizontal esta es una fuente frecuente de errores de diseño dos columnas con 50 de ancho y cualquier padding o border no cabrán una al lado de la otra porque cada una acaba siendo más ancha que la mitad del contenedor con box sizing border box el padding y el border se incluyen dentro del ancho y alto declarados un elemento con width 50 permanece exactamente en la mitad del ancho del contenedor sin importar cuánto padding o border se añada por eso la mayoría de hojas de estilo reinician todos los elementos a border box valor inicial content box se aplica a todos los elementos que aceptan ancho y alto heredado no animable no versión css3 sintaxis dom object style boxsizing border box sintaxis sintaxis de la propiedad css box sizing box sizing content box border box initial inherit copiar el siguiente ejemplo muestra dos elementos div con declaraciones idénticas de width height padding y border solo difieren en su valor de box sizing lo que es suficiente para que se rendericen con tamaños diferentes ejemplo de la propiedad box sizing ejemplo de la propiedad css box sizing con los valores content box y border box doctype html html head style div1 box sizing content box width 400 px height 50 px padding 50 px border 5 px double 1c87c9 div2 box sizing border box width 400 px height 50 px padding 50 px border 5 px dashed 8ebf42 style head body h2 box sizing example h2 hr h3 box sizing content box default h3 div class div1 the width for this div is set as 400px thus the full width is 400px 10px left and right border 100px left and right padding 510px div br h3 box sizing border box h3 div class div2 the width and height apply to all parts of the div element the full width is 400px div body html copiar pruébalo tú mismo resultado con content box la caja renderizada es más ancha que el width declarado porque el padding y el border se suman a él con border box el padding y el border se absorben dentro del width y el height declarados por lo que la caja mantiene exactamente el tamaño especificado border box es el valor al que recurrirás con más frecuencia al construir diseños hace que los tamaños de los elementos sean predecibles y elimina toda una clase de problemas puedes añadir padding o border sin recalcular los anchos ejemplo de dos cajas con borde colocadas una al lado de la otra aquí border box permite que dos cajas flotantes con un ancho del 50 queden una al lado de la otra aunque cada una tenga su propio border y padding con el content box predeterminado los bordes y el padding harían que el ancho combinado superara el 100 y forzarían la segunda caja a una nueva línea ejemplo de la propiedad css box sizing con el valor border box doctype html html head style div container width 100 border 2 px double 1c87c9 div box box sizing border box width 50 border 3 px solid ccc float left padding 3 px style head body h2 box sizing example h2 p here you can see two bordered boxes defined side by side p div class container div class box left part div div class box right part div div style clear both div div body html copiar pruébalo tú mismo aplicar border box a toda la página en lugar de establecer box sizing en elementos individuales la mayoría de los proyectos lo aplican una vez a todos los elementos usando el selector universal este es el reset de css más común en las hojas de estilo modernas before after box sizing border box copiar los selectores before y after garantizan que las cajas de contenido generado sigan la misma regla tras este reset width y height significan el tamaño total incluyendo padding y border en todos lados que es lo que la mayoría de las personas esperan intuitivamente compatibilidad con navegadores box sizing es compatible con todos los navegadores modernos incluidas las versiones actuales de chrome firefox safari y edge es una característica estable de css3 y no necesita prefijos de proveedor para los navegadores de hoy valores valor descripción content box las propiedades width y height incluyen el contenido pero no incluyen el padding border ni margin es el valor predeterminado border box las propiedades width y height incluyen el content el padding y el border pero no incluyen el margin initial establece la propiedad en su valor predeterminado inherit hereda la propiedad de su elemento padre práctica práctica qué hace la propiedad css box sizing qué hace la propiedad css box sizing nos permite incluir el padding y el border en el ancho y alto total de un elemento establece el color de una caja se utiliza para calcular el ancho y el alto de un elemento se utiliza para establecer el margin de un elemento evita que una caja desborde su contenido comprobar was this page helpful yes no previous box shadow next break after on this page cómo el modelo de caja afecta al tamaño sintaxis aplicar border box a toda la página compatibilidad con navegadores valores práctica w3docs tutoriales ejemplos ejercicios fragmentos y cuestionarios gratuitos para la web desde 2014 libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python práctica ejercicios cuestionarios editor try it herramientas html editor password generator html encoder code diff json beautifier empresa acerca de contacto política de privacidad idioma english deutsch русский français español português italiano 2026 w3docs todos los derechos reservados hecho para desarrolladores
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


    Verified site has: 359 subpage(s). Do you want to verify them? Verify pages:

    1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
    51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-95 96-100
    101-105 106-110 111-115 116-120 121-125 126-130 131-135 136-140 141-145 146-150
    151-155 156-160 161-165 166-170 171-175 176-180 181-185 186-190 191-195 196-200
    201-205 206-210 211-215 216-220 221-225 226-230 231-235 236-240 241-245 246-250
    251-255 256-260 261-265 266-270 271-275 276-280 281-285 286-290 291-295 296-300
    301-305 306-310 311-315 316-320 321-325 326-330 331-335 336-340 341-345 346-350
    351-355 356-359


    The site also has 3 references to external domain(s).

     x.com  Verify  github.com  Verify  linkedin.com  Verify


    Top 50 hastags from of all verified websites.

    Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

    Header

    HTTP/1.1 301 Moved Permanently
    Date Sat, 03 Oct 2026 09:59:28 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/es.w3docs.com/learn-css/box-sizing
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=KluZHdmDsZFJ8q%2Bsh0ucz0qluNOxjk1itJkIF6LFSBPWkGXCaL94I2U9taDRM6LMT9HYmSEuxTXMPZrQznO36IDPUYNrT%2BZTBiaKlrMxDiWpWGdJaqEFABMDdmpOaErT ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a44b1823088a0a73-AMS
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Sat, 03 Oct 2026 09:59:29 GMT
    content-type text/html; charset=utf-8
    cache-control public, max-age=0, s-maxage=3600, stale-while-revalidate=86400
    nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    link </_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2>; rel=preload; as= font ; crossorigin= ; type= font/woff2 , </_next/static/chunks/0f-03z2d3_qak.css>; rel=preload; as= style , </_next/static/chunks/167rp0.dvu8z4.css>; rel=preload; as= style
    vary rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch, Accept-Encoding
    via 1.1 Caddy
    x-locale es
    x-powered-by Next.js
    cf-cache-status DYNAMIC
    report-to group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=3sfKYY8bZx1ErqimAYzQ9h0%2FzWRqhD6VV37X3AuJr8p%2FJHZGoQG5eX6JtFhfDYmtO4CSzdfFQ7Z67osbbuQD%2BI9z9%2FGsI5KTG1MvxCK1wpIUBKW8Fl6OZAtJn4ugcEiP ]
    content-encoding gzip
    server cloudflare
    cf-ray a44b182368c6bcc9-AMS
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="Propiedad CSS box-sizing | W3docs"
    charset="utf-8"
    name="viewport" content="width=device-width, initial-scale=1"
    name="next-size-adjust" content=""
    name="description" content="La propiedad box-sizing define el cálculo del ancho y alto de un elemento. Ver ejemplos y probarlos."
    property="og:title" content="Propiedad CSS box-sizing"
    property="og:description" content="La propiedad box-sizing define el cálculo del ancho y alto de un elemento. Ver ejemplos y probarlos."
    property="og:url" content="htt????/es.w3docs.com/learn-css/box-sizing"
    property="og:site_name" content="W3docs"
    property="og:locale" content="es_ES"
    property="og:image" content="htt????/www.w3docs.com/build/images/logo-amp.png"
    property="og:type" content="article"
    name="twitter:card" content="summary_large_image"
    name="twitter:site" content="@w3docs"
    name="twitter:title" content="Propiedad CSS box-sizing"
    name="twitter:description" content="La propiedad box-sizing define el cálculo del ancho y alto de un elemento. Ver ejemplos y probarlos."
    name="twitter:image" content="htt????/www.w3docs.com/build/images/logo-amp.png"

    Load Info

    page size47421
    load time (s)0.881646
    redirect count1
    speed download53826
    server IP 172.67.69.171
    * all occurrences of the string "http://" have been changed to "htt???/"