html - Bulma css framework columns not stacking on Chrome mobile browser -
i'm trying figure out why small static webpage isn't showing when viewed on mobile (noticed on chrome android app). according docs, columns should automatically stack on mobile. but, when view see normal view of page width fitting correctly screen, columns stay in 1 row. shown in below screenshot.
i tested see if it's code resizing page on desktop browser , page responded expected, stacking cards in single column. here's desktop-view imitated on phone.
any idea what's going on? doing wrong? here's code
<html> <head> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.4.3/css/bulma.css"/> </head> <body style="background-color:#00aced;"> <div class="container"> <div class="notification" style="background-color:#fff"> <strong>remember:</strong> in order continually receive updates, please install goodsamarit4n repository <a href="">here</a>. <em>only</em> official source. reason providing links add-on zips complete transparency , study , learn code. <br> </div> </div> <div style="padding: 20px;" class="container"> <div class="columns"> <div class="column"> <div class="card"> <div class="card-image"> <figure class="image is-4by3"> <img src="https://pugdaddy.000webhostapp.com/images/githubforkodi.png" alt="image"> </figure> </div> <header class="card-header"> <p class="card-header-title"> githubforkodi </p> </header> <div class="card-content"> <div class="content"> kodi program add-on managing github account. view repos, branches, notifications, open/close/comment on issues, merge/deny pull requests, real-time notifications, , more! power of github combined simplicity of kodi. creator <a href="https://twitter.com/good_samarit4n">@goodsamarit4n</a>. <a>#kodi</a> <a>#github</a> <a>#program</a> <a>#add-on</a> <br> <small>8:00 pm - 24 jul 2017</small> </div> </div> </div> </div> <div class="column"> <div class="card"> <div class="card-image"> <figure class="image is-4by3"> <img src="https://pugdaddy.000webhostapp.com/images/pugdonut.png" alt="image"> </figure> </div> <header class="card-header"> <p class="card-header-title"> squeee! </p> </header> <div class="card-content"> <div class="content"> kodi video add-on provides cute, funny, , heartwarming animal videos on internet. skip endless clicking around favorite sites , let squeee! bring of sites in easy-to-digest fashion. click through videos 1 @ time or play entire playlist , sit , embrace fluffy. creator <a href="https://twitter.com/good_samarit4n">@goodsamarit4n</a>. <a>#kodi</a> <a>#squeee</a> <a>#video</a> <a>#add-on</a> <a>#cute</a> <a>#animals</a> <br> <small>8:00 pm - 24 jul 2017</small> </div> </div> </div> </div> <div class="column"> <div class="card"> <div class="card-image"> <figure class="image is-4by3"> <img src="https://pugdaddy.000webhostapp.com/images/illuminati.jpg" alt="image"> </figure> </div> <header class="card-header"> <p class="card-header-title"> alternative facts </p> </header> <div class="card-content"> <div class="content"> ready beligerantly angry or find continually muttering "what f###?" under breath. enjoy seeing how crazy folks are. documentaries on conspiracy theories gathered on web. if don't see topic, feel free tweet @ me , i'll see adding you. creator <a href="https://twitter.com/good_samarit4n">@goodsamarit4n</a>. <a>#kodi</a> <a>#alternativefacts</a> <a>#video</a> <a>#add-on</a> <a>#conspiracy</a> <a>#theories</a> <br> <small>8:00 pm - 24 jul 2017</small> </div> </div> </div> </div> </div> </div> </body> </html>
adding following meta tag may solves problem!
<head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head>
Comments
Post a Comment