並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 17 件 / 17件

新着順 人気順

viewportの検索結果1 - 17 件 / 17件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

viewportに関するエントリは17件あります。 cssuijavascript などが関連タグです。 人気エントリには 『UI Security - Thinking Outside the Viewport』などがあります。
  • UI Security - Thinking Outside the Viewport

    Posted Jun 2, 2021 2021-06-02T07:00:00-07:00 by Abdulrahman Alqabandi IntroductionWhen it comes to an application’s user interface (UI), one may care for the aesthetics, design consistency, simplicity, and clarity to ensure a good UI. However, an application like a browser where untrusted content is loaded, parsed, and given APIs to invoke all sorts of UIs then a new layer of concern appears: Desi

      UI Security - Thinking Outside the Viewport
    • Locomotive Scroll | Detection of elements in viewport & smooth scrolling with parallax effects.

      A simple scroll library used by developers at Locomotive. Built as a layer on top of ayamflow's virtual-scroll, it provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.

      • iPadにPC向けデザインを縮小表示するときにも!Viewport Extraで手軽に縮小表示 | 株式会社LIG(リグ)|DX支援・システム開発・Web制作

        こんにちは。フロントエンドエンジニアのつっちーです。 以前の記事で、iPhone SEなど幅320px表示端末での縮小表示に便利なViewport Extraを紹介しました。 Viewport Extra おかげさまで、CDNに対して1日約20,000回、公開以来約1,430,000回ものリクエストをいただいております! たくさんのページでご利用いただいているようで嬉しいです。ありがとうございます! (2021/2/19 3:00 追記) なんと、CDNへの総リクエスト数が 150,000,000回(1.5億回)を突破しました! ありがとうございます! このライブラリ、実はiPadなどタブレット端末での縮小表示にも使うことができます。 さっそくですが、実例とともに紹介していきましょう。 たとえばこんなとき レスポンシブデザイン タブレットでは、デスクトップ向けデザインを表示したい デスクト

          iPadにPC向けデザインを縮小表示するときにも!Viewport Extraで手軽に縮小表示 | 株式会社LIG(リグ)|DX支援・システム開発・Web制作
        • The large, small, and dynamic viewport units  |  Blog  |  web.dev

          The large, small, and dynamic viewport units Stay organized with collections Save and categorize content based on your preferences. The viewport and its units To size something as tall as the viewport, you can use the vw and vh units. vw = 1% of the width of the viewport size. vh = 1% of the height of the viewport size. Give an element a width of 100vw and a height of 100vh, and it will cover the

          • iOS で input の focus 時にズームインしてしまうのを viewport で解決する

            2024/04/17 追記 この記事の結論としては maximum-scale=1.0 にすることとなっていますが、これはアクセシビリティ違反となる対応方法です。 自戒の意を込めまして記事自体はそのまま残しておきますが、もしこの対応をされた方は再度対応を見直していただき、もしこの対応を継続する場合はアクセシビリティ違反であることを念頭に置いていただければ幸いです。 参考: https://developer.mozilla.org/ja/docs/Web/HTML/Viewport_meta_tag#maximum-scale こんにちは。ひらやま(@rhirayamaaan)です。 Web を作っているときに input タグや textarea タグで入力領域を作ることがあるかと思います。 実装をし、いざ確認をしてみると、iOS のときに入力しようとした際に少しばかりズームインしてしま

              iOS で input の focus 時にズームインしてしまうのを viewport で解決する
            • Prepare for viewport resize behavior changes coming to Chrome on Android  |  Blog  |  Chrome for Developers

              In November, with the release of Chrome 108, Chrome will make some changes to how the Layout Viewport behaves when the on-screen keyboard (OSK) gets shown. With this change, Chrome on Android will no longer resize the Layout Viewport, and instead resize only the Visual Viewport. This will bring Chrome on Android’s behavior up to par with that of Chrome on iOS and Safari on iOS. Here's some backgro

              • CSS Viewport Units - Ahmad Shadeed

                CSS Viewport units have been around for the last few years, and by time, I see them being used more and more by developers. Their benefit lies in providing us with a way to size things in a fluid and dynamic way, without the need to use JavaScript. Also, it’s easy to provide a fallback if they fail. In this article, we will learn about CSS viewport units and how to use them, along with some use-ca

                  CSS Viewport Units - Ahmad Shadeed
                • Tailwind CSS v3.4: Dynamic viewport units, :has() support, balanced headlines, subgrid, and more - Tailwind CSS

                  There’s nothing like building a major new product for finding all the features you wish you had in your own tools, so we capitalized on some of that inspiration and turned it into this — Tailwind CSS v3.4. There’s nothing like building a major new product for finding all the features you wish you had in your own tools, so we capitalized on some of that inspiration and turned it into this — Tailwin

                    Tailwind CSS v3.4: Dynamic viewport units, :has() support, balanced headlines, subgrid, and more - Tailwind CSS
                  • How to set max viewport in Puppeteer?

                    When I run a new page, I must specify size of the viewport using the setViewport function: await page.setViewport({ width: 1920, height: 1080 }) I want use max viewport. How can I make the viewport resizable according to the window size?

                      How to set max viewport in Puppeteer?
                    • GitHub - locomotivemtl/locomotive-scroll: 🛤 Detection of elements in viewport & smooth scrolling with parallax.

                      A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

                        GitHub - locomotivemtl/locomotive-scroll: 🛤 Detection of elements in viewport & smooth scrolling with parallax.
                      • 【CSS】フルスクリーン・レンスポンシブに最適なViewport (vw・vh)を覚える | WEBDESIGNDAY

                        CSSでボックスの幅や高さを指定する場合、パーセント(%)やピクセル(px)で指定することが多いと思います。しかしViewport(vw・vh)はフルスクリーン・レンスポンシブに適したCSSの単位です。今回はこのViewport (vw・vh)を解説して行きたいと思います。 Viewportとは? まずはViewportに触れたいと思います。Viewportとは「表示領域」です。Webサイトにおいては、ブラウザの幅と高さがViewportに当たります。 Viewportは「ブラウザの幅と高さを基準にしている」ため、ブラウザのサイズが変更される度に値が変化して行きます。これがフルスクリーン・レンスポンシブに最適である理由です。 Viewport(vw・vh)の単位 Viewport(vw・vh)には4つの単位があります。それぞれ見て行きましょう。 vw(viewport width)

                          【CSS】フルスクリーン・レンスポンシブに最適なViewport (vw・vh)を覚える | WEBDESIGNDAY
                        • Linearly Scale font-size with CSS clamp() Based on the Viewport | CSS-Tricks

                          Linearly Scale font-size with CSS clamp() Based on the Viewport Responsive typography has been tried in the past with a slew of methods such as media queries and CSS calc(). Here, we’re going to explore a different way to linearly scale text between a set of minimum and maximum sizes as the viewport’s width increases, with the intent of making its behavior at different screen sizes more predictabl

                            Linearly Scale font-size with CSS clamp() Based on the Viewport | CSS-Tricks
                          • New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine

                            Since the introduction of CSS viewport units in 2012, many of us have been using width: 100vw as a way to set an element’s width to the full width of the viewport. But, as Šime Vidas explains in this deep dive, 100vw does not always represent the full width of the viewport due to differences in how browsers handle scrollbars. Learn why this is an issue, how to avoid it, and what approaches we may

                              New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
                            • GitHub - leukbaars/DreamUV: DreamUV - 3D viewport UV editing tools for Blender

                              The Viewport UV Tools are a collection of tool to directly manipulate UV maps in the 3D Viewport. These tools are particularly useful when working with tiling or trim based materials. The Move, Scale and Rotate tools allow you to transform your uvs in realtime just like you would be transforming a mesh. Some keyboard and mouse combos can be used while the tool is used. They have been set up to wor

                                GitHub - leukbaars/DreamUV: DreamUV - 3D viewport UV editing tools for Blender
                              • viewportの幅はなぜ980pxだったのか - webのあれこれ

                                はじめにいうと、meta要素のviewportは以下の記述がスタンダードであることに変わりはないと思います。 <meta name="viewport" content="width=device-width,initial-scale=1"> ただ、viewportについて、改めてなんでこの記述はなんだろうと考えてみた内容になります。 viewportとはそもそも何なのか ~スマートフォンの登場 2007年~ viewportとは、ブラウザの「表示領域」のことです。 ではどこから出てきたのか? 振り返るとスマートフォンが登場して、 パソコンよりも小さいブラウザでWEBページを見る機会ができました。 当時はレスポンシブサイトというものもなく、iPhoneが出た2007年あたりは、 PCのディスプレイサイズの多くが1024x768pxの時代です。 当時のスマホのディスプレイサイズが320px

                                  viewportの幅はなぜ980pxだったのか - webのあれこれ
                                • 【JavaScript】 Dynamic viewport (lvh, svh, dvh)が効かない時は、Visual viewportを使おう - Qiita

                                  【JavaScript】 Dynamic viewport (lvh, svh, dvh)が効かない時は、Visual viewportを使おう はじめに W3CのCSS Values and Units Module Level 4で、ビューポート単位についていくつか仕様が変更され、ビューポート単位にLarge viewport、Small viewport、Dynamic viewportといったビューポートサイズの単位が追加されました。 この新しいビューポート単位は、ほとんどのブラウザの最新バージョンでは使えるようになりましたが、 Can I use でどのくらいのユーザーが対応しているかを確認してみると、2023年2月1日時点で、22%のユーザーは、ちゃんと表示されない状況になっています。 どのくらいまで許容するかは、ドメインごとに違うとは思いますが、実業務で使うには、悩ましいくら

                                    【JavaScript】 Dynamic viewport (lvh, svh, dvh)が効かない時は、Visual viewportを使おう - Qiita
                                  • HTML:viewport の正しい書き方 | WWWクリエイターズ

                                    何が正しいのか、よくわからない・・、となりがちな、HTMLのおけるviewport の書き方についてです。 viewport はこう書くのが正解 先にまず結論から。viewportはこのように書くのが正解です。当然ですが、HEADタグの中に記載してくださいね。 <meta name="viewport" content="width=device-width"> ただし、これはページを「レスポンシブ」に設計した場合に限ります。 モバイル端末への対応を行わず、PCレイアウトのみで表示させたい場合は、この限りではありません。(詳しくは後述) モバイル端末ブラウザーで、タップの反応速度が早くなる! 上記のviewport指定方法「width=device-width 」に関する、意外で最も重要なポイントは、モバイル端末では、この記述によってタップの応答が早くなるという点です。 Googleの文献

                                    1

                                    新着記事