Híreink

Grid

Create a fully responsive, fluid and nestable grid layout.

The grid system of UIkit follows the mobile-first approach and accomodates up to 10 grid columns. It uses units with predefined classes inside each grid, which define the column width. It is also possible to combine the grid with classes from the Flex component, although it works only in modern browsers.


Usage

To create the grid container, add the .uk-grid class to a parent element. Add one of the .uk-width-* classes to child elements to determine, how the units shall be sized. The grid supports 1, 2, 3, 4, 5, 6 and 10 unit divisions. This table gives you an overview of the uk-width-* classes that can be applied to units.

Class Description
.uk-width-1-1 Fills 100% of the available width.
.uk-width-1-2 Divides the grid into halves.
.uk-width-1-3 to .uk-width-2-3 Divides the grid into thirds.
.uk-width-1-4 to .uk-width-3-4 Divides the grid into fourths.
.uk-width-1-5 to .uk-width-4-5 Divides the grid into fifths.
.uk-width-1-6 to .uk-width-5-6 Divides the grid into sixths.
.uk-width-1-10 to .uk-width-9-10 Divides the grid into tenths.

We built an intentional redundancy into each set of unit classes, so that for instance the .uk-width-5-10 class will work just as well as .uk-width-1-2.

Example

Take a closer look at the following grid example, which gives you a great overwiew of all basic .uk-width-* classes.

.uk-width-1-3
.uk-width-1-3
.uk-width-1-3
.uk-width-1-2
.uk-width-1-2
.uk-width-3-10
.uk-width-7-10

NOTE The grid has no style related CSS. In our example we used panels from the Panel component.

Markup

Here is a simple code example of how the default grid with 2 columns would look like:

<div class="uk-grid">
    <div class="uk-width-1-2">...</div>
    <div class="uk-width-1-2">...</div>
</div>

Responsive width

UIkit provides a number of very useful responsive widths classes. Basically they work just like the usual width classes, except they are prefixed, so that they only come to effect at certain breakpoints. These classes can be combined with the visibility classes from the Utility component. This is great to adjust your layout and content for different device sizes.

Class Description
.uk-width-* Affects all device widths, grid columns stay side by side.
.uk-width-small-* Affects device widths of 480px and higher. Grid columns will stack on smaller sizes.
.uk-width-medium-* Affects device widths of 768px and higher. Grid columns will stack on smaller sizes.
.uk-width-large-* Affects device widths of 960px and higher. Grid columns will stack on smaller sizes.

IMPORTANT To create a margin between stacking grid columns, just add the data-uk-grid-margin attribute.

Example

.uk-width-medium-1-2 .uk-width-large-1-3
.uk-hidden-medium .uk-width-large-1-3
.uk-width-medium-1-2 .uk-width-large-1-3
.uk-width-1-2 .uk-width-medium-1-3
.uk-hidden-small .uk-width-medium-1-3
.uk-width-1-2 .uk-width-medium-1-3
.uk-width-1-1 .uk-visible-small
.uk-width-medium-1-1 .uk-visible-medium
.uk-width-large-1-1 .uk-visible-large

Grid gutter

Grids automatically create a horizontal gutter between columns and a vertical one between two succeeding grids. By default, the grid gutter is wider on large screens.

Example

Lorem ipsum
Lorem ipsum
Lorem ipsum

Large gutter

To apply a large gutter between grid columns, just add the .uk-grid-large class.

Example

Lorem ipsum
Lorem ipsum
Lorem ipsum

Medium gutter

To apply a medium sized gutter between grid columns, just add the .uk-grid-medium class.

Example

Lorem ipsum
Lorem ipsum
Lorem ipsum

Small gutter

To apply a smaller gutter between grid columns, just add the .uk-grid-small class.

Example

Lorem ipsum
Lorem ipsum
Lorem ipsum

Collapse gutter

To remove the gutter entirely, just add the .uk-grid-collapse class.

Example

Lorem ipsum
Lorem ipsum
Lorem ipsum

Nested grid

You can easily extend your grid layout with nested grids.

Example

.uk-width-1-2
.uk-width-1-2
.uk-width-1-2

Markup

<div class="uk-grid">
    <div class="uk-width-1-2">...</div>
    <div class="uk-width-1-2">
        <div class="uk-grid">
            <div class="uk-width-1-2">...</div>
            <div class="uk-width-1-2">...</div>
        </div>
    </div>
</div>

Center grid

Add the .uk-container-center class from the Utility component to center a grid column.

Example

.uk-container-center

Grid divider

Add the .uk-grid-divider class to separate grid columns with lines. To separate grids with a horizontal line, just add the class to a <hr> or <div> element.

Example

.uk-width-medium-1-3
.uk-width-medium-1-3
.uk-width-medium-1-3

.uk-width-medium-1-3
.uk-width-medium-1-3
.uk-width-medium-1-3

Markup

<div class="uk-grid uk-grid-divider">...</div>
<hr class="uk-grid-divider">
<div class="uk-grid uk-grid-divider">...</div>

NOTE The horizontal divider can not be applied to grids with any of the uk-push-* or uk-pull-* classes.


Source ordering

You can change the display order of the columns to keep a specific column order in the source code. Add one of the .uk-push-* classes to move the column to the right and add one of the .uk-pull-* classes to move a column to the left. This allows you for example to flip the columns' display order for wider viewports. The classes can also be used to offset columns, creating additional space between them.

Source ordering is useful for SEO and responsive design, because in narrow viewports the grid will be displayed according to the source order of the markup.

NOTE This feature only works in combination with one of the .uk-width-medium-* classes.

Example

.uk-width-medium-1-2 .uk-push-1-2
.uk-width-medium-1-2 .uk-pull-1-2
.uk-width-medium-2-5 .uk-push-3-5
.uk-width-medium-2-5 .uk-pull-2-5

Markup

<div class="uk-grid">
    <div class="uk-width-medium-1-2 uk-push-1-2">...</div>
    <div class="uk-width-medium-1-2 uk-pull-1-2">...</div>
</div>

Match column heights

The Grid component uses Flexbox, so the height of grid columns is matched automatically. To achieve the same effect in older browsers that don't support Flexbox, just add the data-uk-grid-match attribute to your grid. If your grid wraps into multiple rows, only grid columns within the same row are matched. To match grid columns accross all rows just use data-uk-grid-match="{row: false}".

 

Example

Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Markup

<div class="uk-grid" data-uk-grid-match>...</div>

NOTE If grid columns extend to a width of 100%, their heights will no longer be matched. This makes sense, for example, if they stack vertically in narrower viewports.


Match height of panels

If you want to match the heights of panels in a grid, just add the .uk-grid-match class. When using the data attribute, you need to add the {target:'.uk-panel'} selector.

Example

Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Markup

<div class="uk-grid uk-grid-match" data-uk-grid-match="{target:'.uk-panel'}">
    <div class="uk-width-medium-1-3">
        <div class="uk-panel">...</div>
    </div>
</div>

Wrap multiple rows

You can also create a grid with as many columns as you want, which automatically break into the next line. Just add the data-uk-grid-margin attribute to create a margin between the grid rows. Typically this layout is built using a <ul> element.

Example

  • Box
  • Box
  • Box
  • Box
  • Box
  • Box

NOTE You can also apply a custom width to your grid columns. Just add the .uk-width class and use an inline style to define the width. This example uses fixed pixel values for the widths as you would do with images.

  • Box
  • Box
  • Box
  • Box
  • Box
  • Box
  • Box
  • Box

Markup

<ul class="uk-grid" data-uk-grid-margin>

    <!-- These elements have a width in percent -->
    <li class="uk-width-medium-1-5">...</li>
    <li class="uk-width-medium-3-10">...</li>

    <!-- These elements have a width in pixel -->
    <li class="uk-width" style="width: 100px;">...</li>
    <li class="uk-width" style="width: 150px;">...</li>

</ul>

Even grid columns

To create a grid whose child elements' widths are evenly split, you don't have to apply the same class to each list item within the grid. Just add one of the .uk-grid-width-* classes to the grid itself.

Class Description
.uk-grid-width-1-2 Divides the grid into halves.
.uk-grid-width-1-3 Divides the grid into thirds.
.uk-grid-width-1-4 Divides the grid into fourths.
.uk-grid-width-1-5 Divides the grid into fifths.
.uk-grid-width-1-6 Divides the grid into sixths.
.uk-grid-width-1-10 Divides the grid into tenths.

Example

  • Box
  • Box
  • Box
  • Box
  • Box

Markup

<ul class="uk-grid uk-grid-width-1-5">
    <li>...</li>
    <li>...</li>
</ul>

Responsive width

UIkit also provides responsive grid width classes. You can apply these to maintain evenly sized grid columns, regardless of the device width.

Class Description
.uk-grid-width-* Affects all device widths.
.uk-grid-width-small-* Affects device widths of 480px and higher.
.uk-grid-width-medium-* Affects device widths of 768px and higher.
.uk-grid-width-large-* Affects device widths of 960px and higher.
.uk-grid-width-xlarge-* Affects device widths of 1220px and higher.

Example

  • Box
  • Box
  • Box
  • Box
  • Box

Markup

<ul class="uk-grid uk-grid-width-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-5">
    <li>...</li>
    <li>...</li>
</ul>

   A 2023/2024-es tanévből hátralévő napok száma          

Friss hírek

Határtalanul

Határtalanul

Title Text

Error: Specified module position doesn't exist or is blank!
Error: Specified module position doesn't exist or is blank!
Error: Specified module position doesn't exist or is blank!

Napraforgó Alapítvány

Híreink

  • 2023 jan. 27

    Zeneiskolás siker

    Zeneiskolás siker A VII. Danubia Talents Nemzetközi Zenei Versenyen zeneiskolánk tanulója Kiss Eszter ismét óriási sikert ért el. A zongoristák között kategóriájában a II. helyezést nyerte el. Felkészítő tanára Rogl Béláné. Szívből gratulálunk ehhez a fantasztikus eredményhez. Nagyon büszkék vagyunk rájuk!
  • 2022 márc. 22

    Hirdetmény 2022 beiratkozás

    BEIRATKOZÁS A 2022/20223-AS TANÉVRE  
  • 2021 szept. 27

    Hunyadi-bál meghívó

    Tisztelt Szülők! Kedves Támogatók! Szeretnénk Önöket meghívni a Gyermekeinkért Hunyadi Tiszaújváros Alapítványa által október 15-én este megrendezésre kerülő Hunyadi-bálra. A bál bevételét a gyermekek számára szervezett szabadidős programokra szeretnénk fordítani. A részleteket az osztályfőnökök fogják ismertetni Önökkel. Kérjük, hogy részvételi szándékukat október 11-ig jelezzék az osztályfőnök felé! Azoknak a szülőknek, akik nem tudnak részt venni a rendezvényen, lehetőségük lesz támogatói jegyek vásárlására. Szívesen fogadjuk a szülők és az osztályok felől érkező tombolatárgyak felajánlását is. Bízunk benne, hogy minél többen megtisztelnek bennünket ezen a programon is, és egy jó hangulatú estét töltünk majd el együtt. A szervezők nevében tisztelettel: Victorné Kardos Erika            Markovicsné Szabó Enikő    kuratóriumi elnök                      intézményvezető
  • 2021 aug. 25
  • 2021 máj. 31

    Honvédelmi tábor 2021 tájékoztatás

    Tisztelt Szülők! Kedves Gyerekek! A 2021-es Honvédelmi tábor felhívásáról az alábbi linken tájékozódhatnak/tájékozódhattok: Honvédelmi tábor 2021  
  • 2021 márc. 07

    Mindenki táncolt a Hunyadiban!

      Jó hangulat volt a Hunyadiban a kockás&cowboy napon, mindenki táncolt! ÚJ! https://www.youtube.com/watch?v=Uz40xa1lcAk  
  • 2021 márc. 03

    Hívogató

    Kedves Érdeklődők! Az Iskolakóstolgató 2020/2021 menüsávban egy kisfilmet nézhetnek meg iskolai programjainkról a "Vár a Hunyadi!" legördülő menüben. (A YouTube videót elindítva, a jobb alsó sarokban lévő négyzetre kattintva teljes képernyőre válthatnak.) Kérjük szánjanak rá néhány percet!
  • 2021 febr. 19

    Iskolakóstolgató programjaink 2020/2021

    "ISKOLAKÓSTOLGATÓ" Kérjük, kísérjék figyelemmel programjainkat az Iskolakóstolgató 2020/2021 fül alatt!
  • 2019 dec. 04

    EUROEXAM nyelvvizsga

    EUROEXAM próbanyelvvizsga Intézményünk próbanyelvvizsgát szervezett a 5-8. évfolyamos emelt szintű angol nyelvet tanuló diákoknak, melyre angoltanáraik készítették fel őket. Sok sikert kívánunk! A nyelvvizsgára az alábbi feliratra kattintva tudtok regisztrálni:  
  • 2019 okt. 20

    Országos Diákolimpia

    Október 19-én iskolánk távolugró csapata a kiváló 3. helyezést érte el az Országos Diákolimpia atlétikai ügyességi csapatbajnokságán. A csapat tagjai: Karikó Zsolt, Urbán Ádám, Fenyves Tamás, Lindi Márton 8.a, Halas Erik 6.a. Felkészítők: Ujlaky Ildikó testnevelő és Jakab István edző Büszkék vagyunk rájuk!
  • 2019 ápr. 02

    Tehetségpont

        Akkreditált Tehetségpont lett a Hunyadi Iskolánk 2017-ben ismét elnyerte az Akkreditált  Tehetségpont címet. Ezzel jogosultak lettünk a nyilvános dokumentumainkon az Akkreditált  Tehetségpont cím használatára. Jelenleg a Kiváló Akkreditált Tehetségpont címre pályázunk.                                                                                                                                                                                                                              
  • 2019 márc. 07

    e-Ügyintézés

        Tisztelt Szülők! Tájékoztatjuk, hogy intézményünkben 2019.03.01-től bevezetésre került az elektronikus ügyintézési rendszer. Az ügyintézést a fenti logóra vagy az alábbi linkre kattintva érheti el: https://eugyintezes.e-kreta.hu/kezdolap A rendszer bevezetésével kapcsolatban készült tájékoztató anyagokat, cikkeket a http://kk.gov.hu/download/a/cd/52000/KAFFEE%20projekt%20t%C3%A1j%C3%A9koztat%C3%B3%20kiadv%C3%A1ny.pdf linken találja.    
  • 2018 szept. 08

    Pályaválasztási Kiállítás 2018. november 07.

    Pályaválasztási Kiállítás 2018.11.07.  
  • 2018 szept. 01

    Szülői tájékoztató 2022/2023

    Kedves Szülők! VÁLTOZÁS! A 2022-2023-as tanévről szóló tájékoztatót az alábbi linken érik el: Szülői tájékoztató a 2022-2023-as tanévről  
  • 2018 aug. 22

    Tanévnyitó

     Tisztelt Szülők! Kedves Gyerekek! Tanévnyitó ünnepségünk  2021.09.01-jén, az első tanítási napon 8 órakor kezdődik. Az ünneplő ruha viselése mindenkinek kötelező! A tanulók a tankönyveket is ezen a napon kapják meg. Reméljük, hogy jól kipihentétek magatokat, mi már nagyon várunk Benneteket! Az 1. osztályos tanulók szüleit is szeretettel várjuk!                                  2021-2022-es tanév osztály            terem              osztályfőnök,                                                 napközis tanító 1.a                   28-as               Viszóczki Anett                                                                     Pásztorné Bajusz Anikó 1.b                   24-es               Kovács Katalin                                                                      Kondrákné Bertók Éva 2.a                   16-os               Nagyné Tóth Zsófia                                                               Majoriné Veres Éva 2.b                   15-ös               Czár Judit Bianka                                                                  Ráczné Csordás Tímea 3.a                   25-ös               Tompa Klára Ilona                                                                 Pozsgai Tünde 3.b                   17-es               Volyánszki-Bán Viktória                                          Demblovszkyné Kapitány Zsuzsanna 4.a                   27-es               Mucza-Krisztin Judit                                                              Nagy Barnabásné 4.b                   18-as               Tóth Erika                                                                              Németh Erika 5.a                   rajz                  Csatóné Boros Zsuzsanna 5.b                   32-es               Szabóné Gubányi Éva 5.c                   31-es               Demblovszky Gábor Tamás 6.a                   ének                Magyarné Hadzsi Katalin 6.b                   38-as               Göncziné Kalóz Éva 7.a                   30-as               Komlósné Oláh Mária 7.b                   43-as               Balogh Tamás 7.c                   42-es               Birtalan Ágnes 8.a                   11-es               Drotárné Tamás Hermina 8.b                   33-as               Ducsainé Sivák Erika
  • 2018 jún. 08

    Idegennyelvi mérés 2018-as tanév

    Idegen nyelvi mérés eredményei 2018
  • 2016 júl. 25