styles.css

Aus Infopedia
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „→‎Screen: @media screen { .footer { display: none; } } →‎Print: @media print { .footer{ display: block; position: fixed; bottom: 0pt; left: 0p…“)
 
K
Zeile 19: Zeile 19:
 
#page-number::after {
 
#page-number::after {
 
   counter-increment: page;
 
   counter-increment: page;
   content:"Page " counter(page)
+
   content:"Page " counter(page);
 
}
 
}
 
}
 
}

Version vom 19. November 2020, 19:15 Uhr

/* Screen */
@media screen {
.footer {
  display: none;
}
}

/* Print */
@media print {
.footer{
  display: block;
  position: fixed;
  bottom: 0pt;
  left: 0pt;
  right: 0pt;
  text-align: center;
}  

#page-number::after {
  counter-increment: page;
  content:"Page " counter(page);
}
}