Coder Social home page Coder Social logo

Comments (2)

gtanzer avatar gtanzer commented on May 25, 2024

Design doc (WIP): https://docs.google.com/document/d/1MVqxc2nzde3cJYIRC8vnXH-a4A6J4GQE-1vBuXhQsPE/edit#heading=h.67vioho3x0ux

The tentative list of options is:

Fixed sizes:
320x50
728x90
970x90
320x100
160x600
300x250
970x250
336x280
320x480
300x600
300x1050

Fixed-height flexible sizes (H):
In mobile devices with viewport width vw, we also accept sizes (vw)xh, where h is one of {50, 100, 250}. For instance, in a device with viewport width 360, the sizes 360x50, 360x100, 360x250 are also valid sizes.

Fixed-aspect ratio flexible sizes (AR):
In mobiles devices with viewport width vw, we also accept sizes (vw)x(vw/k), where k is one of {6.4, 3.2, 1.2, 2/3, 1/2}, rounding to the nearest integer (half up). For instance, in a device with viewport width 412, the sizes 412x64, 412x129, 412x343, 412x618 and 412x824 are also valid sizes.

from fenced-frame.

craigfrancis avatar craigfrancis commented on May 25, 2024

Related, it would be important for anything that isn’t a fixed sized ad, for the frame height to be set automatically, this has been raised for iframes: w3c/csswg-drafts#1771

from fenced-frame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.