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/scroll-behavior - Propiedad CSS scroll-behavior .

site address: es.w3docs.com/learn-css/scroll-behavior redirected to: es.w3docs.com/learn-css/scroll-behavior

site title: Propiedad CSS scroll-behavior W3docs

Our opinion (on Friday 25 September 2026 22:37:54 UTC):

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



Meta tags:
description=Usa la propiedad CSS scroll-behavior para especificar el comportamiento del desplazamiento. Consulta los valores y ejemplos.;

Headings (most frequently used words):

de, propiedad, scroll, behavior, con, ejemplo, la, el, valor, css, cuándo, usarla, dónde, declararla, sintaxis, valores, suavizar, un, contenedor, específico, relación, las, apis, desplazamiento, javascript, accesibilidad, propiedades, relacionadas, práctica, auto, smooth,

Text of the page (most frequently used words):
css (35), scroll (34), border (34), #behavior (31), color (24), desplazamiento (23), html (21), text (21), font (20), style (19), grid (18), background (16), los (15), aprender (15), smooth (15), width (14), que (13), auto (13), column (13), propiedad (12), overflow (12), para (11), right (10), página (10), una (10), top (10), element (10), valor (10), bottom (10), break (10), con (9), las (9), height (9), left (9), image (9), animation (9), contenedor (8), offset (8), copiar (8), div (8), position (8), stroke (8), javascript (7), controla (7), decoration (7), flex (7), web (6), page (6), del (6), href (6), por (6), panel (6), body (6), element1 (6), element2 (6), title (6), align (6), padding (6), margin (6), type (6), variant (6), w3docs (5), sintaxis (5), suave (5), salto (5), ejemplo (5), class (5), transition (5), line (5), last (5), outline (5), radius (5), child (5), formatter (5), generator (4), práctica (4), apis (4), valores (4), cajas (4), navegación (4), the (4), declárala (4), elemento (4), click (4), main (4), head (4), 600 (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), propiedades (3), accesibilidad (3), específico (3), dónde (3), declararla (3), scrollbar (3), qué (3), anchor (3), barra (3), anima (3), media (3), movimiento (3), animación (3), cuando (3), usuario (3), usa (3), ancla (3), document (3), caja (3), desplazamientos (3), ese (3), consulta (3), initial (3), entre (3), property (3), object (3), word (3), wrap (3), spacing (3), range (3), origin (3), justify (3), items (3), before (3), after (3), max (3), letter (3), content (3), columns (3), direction (3), clip (3), box (3), only (3), ver (3), string (3), tools (3), desarrolladores (2), 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), relacionadas (2), relación (2), suavizar (2), cuándo (2), usarla (2), this (2), puede (2), texto (2), links (2), aplica (2), desplazables (2), prefers (2), reduced (2), motion (2), usuarios (2), opción (2), scrollto (2), window (2), scrollintoview (2), forma (2), establecer (2), también (2), pueden (2), llamada (2), cualquier (2), programáticos (2), dentro (2), cómo (2), inherit (2), predeterminado (2), único (2), instantáneo (2), sin (2), hacer (2), clic (2), dos (2), instantáneamente (2), solo (2), pruébalo (2), mismo (2), example (2), 8ebf42 (2), ccc (2), doctype (2), esta (2), más (2), viewport (2), uso (2), salta (2), animado (2), visibility (2), unicode (2), timing (2), function (2), duration (2), delay (2), shadow (2), rendering (2), skip (2), perspective (2), inside (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, todos, derechos, reservados, hecho, idioma, política, privacidad, contacto, acerca, empresa, try, tutoriales, gratuitos, desde, 2014, next, previous, yes, was, helpful, comprobar, mecanismo, decir, transiciones, son, suaves, desplazarse, fondo, anclas, activan, punto, anclaje, utilizado, durante, transformaciones, estilos, esas, crea, reduce, causar, molestias, sensibles, respeta, query, deshabilite, haya, pedido, sistema, reduzca, quieras, cada, sea, puntual, one, off, regardless, value, solicitar, suavizado, mediante, anula, esa, concreta, predeterminada, scrollheight, scrolltop, queryselector, const, container, has, smoothly, scrolls, its, because, 300, limita, tenga, propia, animarán, saber, crean, hereda, padre, establece, posiciones, inicio, fin, ocurre, descripción, cualquiera, enlaces, bloques, lugar, saltar, difiere, anterior, código, scrollbehavior, dom, cssom, view, module, working, draft, versión, animable, heredada, inicial, agentes, ignorar, omitirá, soliciten, reducido, abajo, declarado, propaga, sería, ignorado, raíz, otro, desplazable, directamente, llamar, etc, rueda, ratón, trackpad, tiene, efecto, realiza, afecta, activados, hay, reglas, suelen, confundir, caso, común, misma, enlace, apunta, fragmento, como, navegador, normalmente, destino, convierte, agradable, sola, línea, section, explica, hace, debes, diferencia, sus, errores, comunes, relaciona, define, activado, script, coordenada, debe, ser, defecto, significa, abrupto, especificar, comportamiento, zoom, index, writing, will, change, widows, white, space, vertical, user, select, bidi, underline, orientation, indent, ink, combine, upright, table, layout, tab, linecap, dashoffset, dasharray, speak, shape, outside, resize, quotes, pointer, events, place, orphans, order, opacity, rotate, distance, fit, mix, 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, float, shrink, grow, basis, filter, cells, cursor, reset, increment, span, clear, charset, caret, caption, side, sizing, source, slice, outset, collapse, block, bleed, attachment, backface, appearance, play, state, name, iteration, self, all, properties, visited, valid, target, selection, scope, root, required, write, placeholder, out, optional, not, link, lang, invalid, indeterminate, hover, fullscreen, focus, enabled, disabled, dir, default, checked, active, selectores, selectors, css3, guía, flexbox, guides, gradientes, nombres, colores, tablas, 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 scroll behavior 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 scroll behavior usa la propiedad css scroll behavior para especificar el comportamiento del desplazamiento consulta los valores y ejemplos la propiedad css scroll behavior define si un desplazamiento activado por la navegación o por un script una caja de desplazamiento que salta a un ancla o a una coordenada debe ser suave animado o instantáneo un salto único por defecto es auto lo que significa un salto abrupto esta página explica qué hace la propiedad dónde debes declararla la diferencia entre sus valores errores comunes y cómo se relaciona con las apis de desplazamiento de javascript cuándo usarla el caso de uso más común es la navegación dentro de la misma página cuando un enlace apunta a un fragmento como a href section el navegador normalmente salta instantáneamente al destino establecer scroll behavior smooth en el contenedor de desplazamiento convierte ese salto en un desplazamiento animado y agradable sin una sola línea de javascript html scroll behavior smooth copiar dónde declararla hay dos reglas que suelen confundir a los desarrolladores solo afecta a los desplazamientos programáticos y activados por navegación hacer clic en un ancla llamar a element scrollintoview window scrollto etc no tiene efecto en los desplazamientos que realiza el usuario con la rueda del ratón el trackpad o la barra de desplazamiento para el desplazamiento del viewport declárala en html no en body el valor declarado en el elemento body no se propaga al viewport por lo que sería ignorado declárala en el elemento html la caja de desplazamiento raíz para cualquier otro contenedor desplazable declárala en ese contenedor directamente los agentes de usuario pueden ignorar esta propiedad y se omitirá para los usuarios que soliciten movimiento reducido consulta accesibilidad más abajo valor inicial auto se aplica a cajas de desplazamiento heredada no animable no versión cssom view module working draft sintaxis dom object style scrollbehavior smooth sintaxis sintaxis css de scroll behavior scroll behavior auto smooth initial inherit copiar ejemplo de la propiedad scroll behavior con el valor auto ejemplo de código css scroll behavior doctype html html head title title of the document title style html scroll behavior auto element1 height 600 px background color ccc element2 height 600 px background color 8ebf42 style head body h2 scroll behavior property example h2 div class main id element1 h2 element 1 h2 a href element2 click to scroll to element 2 a div div class main id element2 h2 element 2 h2 a href element1 click to scroll to element 1 a div body html copiar pruébalo tú mismo ejemplo de la propiedad scroll behavior con el valor smooth ejemplo css scroll behavior con el valor smooth doctype html html head title title of the document title style html scroll behavior smooth element1 height 600 px background color ccc element2 height 600 px background color 8ebf42 style head body h2 scroll behavior property example h2 div class main id element1 h2 element 1 h2 a href element2 click to scroll to element 2 a div div class main id element2 h2 element 2 h2 a href element1 click to scroll to element 1 a div body html copiar pruébalo tú mismo con smooth al hacer clic en cualquiera de los enlaces se anima la página entre los dos bloques en lugar de saltar instantáneamente solo el valor de scroll behavior difiere del ejemplo anterior valores valor descripción auto predeterminado el desplazamiento ocurre en un único salto instantáneo sin animación smooth el desplazamiento se anima de forma suave entre las posiciones de inicio y fin initial establece la propiedad a su valor predeterminado auto inherit hereda el valor del elemento padre suavizar un contenedor específico scroll behavior no se limita a la página declárala en cualquier elemento que tenga su propia barra de desplazamiento una caja con overflow auto u overflow scroll y los desplazamientos programáticos dentro de ese contenedor también se animarán consulta overflow para saber cómo se crean las cajas desplazables panel height 300 px overflow y auto scroll behavior smooth copiar smoothly scrolls panel to its bottom because the container has scroll behavior smooth const panel document queryselector panel panel scrolltop panel scrollheight copiar relación con las apis de desplazamiento de javascript scroll behavior es la forma css de establecer la animación predeterminada para un contenedor de desplazamiento las apis de desplazamiento también pueden solicitar suavizado por llamada mediante una opción behavior que anula el valor css para esa llamada concreta one off smooth scroll regardless of the css scroll behavior value element scrollintoview behavior smooth window scrollto top 0 behavior smooth copiar usa la propiedad css cuando quieras que cada salto de navegación ancla en un contenedor sea suave usa la opción de js para un desplazamiento puntual y específico accesibilidad el desplazamiento suave puede causar molestias a los usuarios sensibles al movimiento respeta la media query prefers reduced motion para que la animación se deshabilite cuando el usuario haya pedido al sistema que reduzca el movimiento html scroll behavior smooth media prefers reduced motion reduce html scroll behavior auto copiar propiedades relacionadas overflow crea las cajas desplazables que scroll behavior anima scrollbar aplica estilos a la barra de desplazamiento de esas cajas offset anchor controla el punto de anclaje utilizado durante las transformaciones html links los anclas href id que activan el desplazamiento suave práctica práctica qué controla la propiedad css scroll behavior en una página web qué controla la propiedad css scroll behavior en una página web controla el color del texto en una página web controla el color de fondo de una página web controla si una página web puede desplazarse o no controla el mecanismo de desplazamiento de la página es decir si las transiciones de desplazamiento son suaves comprobar was this page helpful yes no previous right next scrollbar on this page cuándo usarla dónde declararla sintaxis valores suavizar un contenedor específico relación con las apis de desplazamiento de javascript accesibilidad propiedades relacionadas 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: 361 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-360 361-361


    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 Fri, 25 Sep 2026 22:37:55 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/es.w3docs.com/learn-css/scroll-behavior
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=GGUu3SB6ykdCjBs%2FZI88eykT1knwzSEbr25gCarKHAe4520kEzbzx%2Fd6DpK3CyrYioPrk1JcDWZUUqpVGNaFeHIuUNTEIc9t4%2FlvQNKVqYVgGGbGOhfMyKQtV%2FFSs51V ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a40d84244ce09e60-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Fri, 25 Sep 2026 22:37:55 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=zqwm7pJGXwx7aGc38duwANrzHC8XxOHXvnErG9Kn52%2BgzCEykTF0aSDKVAp86NhJxS8vBttruhcM28WtSEpcCk%2FM273gyip3he8%2F45qmJJ37YOpbmQpJRhomz5EDNIL7 ]
    content-encoding gzip
    server cloudflare
    cf-ray a40d8424ab4c1606-AMS
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="Propiedad CSS scroll-behavior | W3docs"
    charset="utf-8"
    name="viewport" content="width=device-width, initial-scale=1"
    name="next-size-adjust" content=""
    name="description" content="Usa la propiedad CSS scroll-behavior para especificar el comportamiento del desplazamiento. Consulta los valores y ejemplos."
    property="og:title" content="Propiedad CSS scroll-behavior"
    property="og:description" content="Usa la propiedad CSS scroll-behavior para especificar el comportamiento del desplazamiento. Consulta los valores y ejemplos."
    property="og:url" content="htt????/es.w3docs.com/learn-css/scroll-behavior"
    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 scroll-behavior"
    name="twitter:description" content="Usa la propiedad CSS scroll-behavior para especificar el comportamiento del desplazamiento. Consulta los valores y ejemplos."
    name="twitter:image" content="htt????/www.w3docs.com/build/images/logo-amp.png"

    Load Info

    page size47163
    load time (s)0.473137
    redirect count1
    speed download99710
    server IP 104.26.5.230
    * all occurrences of the string "http://" have been changed to "htt???/"