skip to Main Content

Html – Why is position sticky not working as expected?

I'm having some problems trying to identify why in this snippet the container__item--special behaves as a sticky element <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .container { display: flex; overflow-x: auto; position: relative; }…

VIEW QUESTION
Back To Top
Search