amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}figure.acsseccc0{max-width:574px;}figure.acss07176{max-width:573px;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acssc2b50{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/03/PhotoGrid_1585558872616_compress66-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acssc3f51{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/03/Pixel-google-Essential_pc3leo-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssdf645{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/10/Kouji-Tsujitani-is-dead_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss13fb5{aspect-ratio:1/1;background:transparent url(http://pc3mag.com/wp-content/uploads/2018/10/pc3-facebook-logo.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

配合網頁設計潮流 桌面版Google搜尋終於開始測試響應式設計

因應大眾習慣使用流動裝置上網,所以近年已有許多網站都為頁面改用響應式設計,方便用家使用不同螢幕尺寸大小的裝置,都可以觀看符合頁面寬度的內容,不用左右滑動。至於我們常用的Google搜尋,亦終於開始測試採用響應式頁面設計。

[the_ad_placement id=”ad2″]

圖片來源︰9to5Google

若我們在電腦的瀏覽器使用Google搜尋,或會留意到若是縮小瀏覽器的視窗大小,Google搜尋頁面的內容排列並不會隨之改變,而是需要用家自行左右滑動,才可以瀏覽超出視窗範圍的內容,證明現有的Google搜尋頁面並沒有採用響應式網頁設計。

圖片來源︰9to5Google

其實,Google已經開始測試於搜尋結果的頁面改用響應式設計。換言之,當用家改變瀏覽器視窗大小,頁面內容的排列亦會隨之變化,例如左上方的Google標誌會隱藏起來,以節省空間讓眾多搜尋結果可以左移,足以容納頁面內所有內容。

因現時Google搜尋的首頁已經採用響應式網頁設計,所以搜尋結果的頁面亦同樣改用響應式網頁設計是十分合理的,亦能方便不同用家的需要。由於現時仍在測試中,故Google何時才會為搜尋結果頁面改用響應式設計仍是未知之數。

來源︰9to5Google

偽宅男

Windows、iOS、Android 通通都用緊。有穩定版 App 唔用,最愛試 Beta 版