Search code examples
ruby-on-railsrubyhtmlrefinerycms

Web Site Zoom in - Zoom out


What property I can modify, how and where, when I want to zoom out the entire web site. The problem is when I open my web site - it´s just too "zoomed in". I´d like the entire pages to zoom out for about 10 %. (Site is made with refineryCMS, ruby on rails)


Solution

  • There is a css property that controls the magnification level for the current element. The rendering effect for the element is that of a “zoom” function on a camera. Even though this property is not inherited, it still affects the rendering of child elements.

    Example

    div { zoom: 200% }
    <div style=”zoom: 200%”>This is x2 text </div>
    

    You could probably apply this to the body..