Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmieren:php:debug [2021/07/12 12:34] jgehrkeprogrammieren:php:debug [2022/12/17 12:28] (current) – external edit 127.0.0.1
Line 27: Line 27:
 ===== Optionales CSS Styling ===== ===== Optionales CSS Styling =====
  
-Es kann schon auch Sinn machen, die Ausgabe der Debug-Funktion ein wenig zu stylen.+Es kann schon auch Sinn machen, die Ausgabe der Debug-Funktion ein wenig zu stylen. Hier ein Beispiel CSS-Code der die Box in einen gelblichen "Message" hüllt:
  
 <code css> <code css>
Line 33: Line 33:
  display          : block;  display          : block;
  margin           : 22px;  margin           : 22px;
- padding          : 22px;+ padding          : 11px;
  max-width        : calc( 100% - 44px );  max-width        : calc( 100% - 44px );
  background-color : rgb(255 245 225);  background-color : rgb(255 245 225);
Line 48: Line 48:
 } }
 .debug__print{ .debug__print{
 + margin      : 0px;
 + padding     : 0px;
  font-family : Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;  font-family : Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
  color       : rgb(90,90,90);  color       : rgb(90,90,90);

Page Tools