Title: Scale to Fit
Author: metatavu
Published: <strong>2016-10-15</strong>
Last modified: 2016-10-15

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/scale-to-fit.svg)

# Scale to Fit

 Autor: [metatavu](https://profiles.wordpress.org/metatavu/)

[Pobierz](https://downloads.wordpress.org/plugin/scale-to-fit.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/scale-to-fit/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/scale-to-fit/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/scale-to-fit/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/scale-to-fit/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/scale-to-fit/)

## Opis

wordpress-scale-to-fit plugin allows developers to force some elements to fit inside
other. This can be useful when developers need to make
 some non-responsive components(
e.g. iframes) to scale with the rest of the page.

Key Features:

 * Allows developers to force elements to fit inside others

### Configuration

Add css class „scale-to-fit” to element you wish to initialize scale-to-fit.

You can use following data -attributes to control scaling:

 * data-element-method: Method to find scaled element. Allowed values:
    - self – element it self (default)
    - parent – reference element
    - closest – closest ancestor of reference element matching data-element -attribute
      selector
    - find – closest descendant of reference element matching data-element -attribute
      selector
 * data-element: CSS Selector for closest and find methods
 * data-container-method: Method to find container element. Allowed values:
    - self – reference element
    - parent – parent of reference element (default)
    - closest – closest ancestor of reference element matching data-element -attribute
      selector
       _ find – closest descendant of reference element matching data-element-
      attribute selector
 * data-container: CSS Selector for closest and find methods

## Instalacja

 * Upload folder into /wp-content/plugins -directory
    - Activate the plugin in 'Plugins’ menu

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Scale to Fit” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

 *   [ metatavu ](https://profiles.wordpress.org/metatavu/)

[Przetłumacz wtyczkę “Scale to Fit” na swój język.](https://translate.wordpress.org/projects/wp-plugins/scale-to-fit)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/scale-to-fit/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/scale-to-fit/) lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/scale-to-fit/)
przez [RSS](https://plugins.trac.wordpress.org/log/scale-to-fit/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 0.1

 * Initial version

## Meta

 *  Wersja **0.1**
 *  Ostatnia aktualizacja **10 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 4.6 lub nowszej **
 *  Testowano do **4.6.30**
 *  Język
 * [English (US)](https://wordpress.org/plugins/scale-to-fit/)
 * Tag
 * [utilities](https://pl.wordpress.org/plugins/tags/utilities/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/scale-to-fit/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/scale-to-fit/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/scale-to-fit/reviews/)

## Zaangażowani

 *   [ metatavu ](https://profiles.wordpress.org/metatavu/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/scale-to-fit/)