Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS] YAML, linearize-level-1/2
wNogachSpisz
post 3.03.2012, 18:44:15
Post #1





Grupa: Zarejestrowani
Postów: 1 233
Pomógł: 87
Dołączył: 6.03.2009

Ostrzeżenie: (40%)
XX---


Witam
Uczę się framerowka YAML-CSS.
Nie kumam klasy linearize-level-1/2
Kod CSS dla tej klasy wklejam poniżej, mimo jego przestudiowania, nie bardzo rozumiem gdzie i kiedy należałoby taką klasę stosować. Nie wiem też do czego nawiązuje nazwa "linearize", bo zakładam ze jest to przeniesienie z jakiejś nauki (fizyki, matmy, typografii albo jeszcze innej).

definicja CSS:

  1. /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
  2. .linearize-level-1,
  3. .linearize-level-1 > [class*="ym-g"],
  4. .linearize-level-1 > [class*="ym-col"] {
  5. display: block;
  6. float: none;
  7. margin-left: 0;
  8. margin-right: 0;
  9. width: 100% !important;
  10. }
  11.  
  12. .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"],
  13. .linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
  14. overflow: hidden; /* optional for containing floats */
  15. padding: 0;
  16. }
  17.  
  18. /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
  19. .linearize-level-2,
  20. .linearize-level-2 > [class*="ym-g"],
  21. .linearize-level-2 > [class*="ym-col"] {
  22. display: block;
  23. float: none;
  24. margin-left: 0;
  25. margin-right: 0;
  26. width: 100% !important;
  27. }
  28.  
  29. .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"],
  30. .linearize-level-2 > [class*="ym-col"] > [class*="ym-cbox"] {
  31. overflow: hidden; /* optional for containing floats */
  32. padding: 0;
  33. }


Serdecznie proszę o wyczerpujące wypowiedzi.
Z góry dzięki za pomoc.

Ten post edytował wNogachSpisz 3.03.2012, 18:58:34
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 24.07.2025 - 17:49