Eigene Box - Mobile Darstellung

  • Hallo Zusammen,

    ich probiere gerade bisschen rum. Ich habe mir eine Hinweiß-Box erstellt. In dieser Hinweiß-Box benutze ich folgenden HTML-Code:

    mit diesem CSS-Code:

    Jetzt zu meiner Frage :), wie passe ich die Mobile Ansicht an? Habt ihr Ansätze wo ich mich belesen kann, dass wäre klasse.

    Gruß Mark

    There are only 10 types of people in the world: Those who understand binary, and those who don't.

  • Hilft dir das weiter:

    https://docs.woltlab.com/view_css.html

    ?

    Danke Tom ^^, ja etwas. Also ich muss also für Desktops (@include screen-lg) und für Smartphones/Tablets (@include screen-md-down) setzen. Somit wäre quasi als Beispiel


    Code
    @include screen-lg .pnhinweis1 {
    	margin-left: 25px;
    	float: left;
    }
    
    
    @include screen-md-down .pnhinweis1 {
    	margin-left: 5px;
    	float: left;
    }

    das richtig? ?(

    There are only 10 types of people in the world: Those who understand binary, and those who don't.

  • Fast:


    Oder:


  • Klasse hat super funktioniert :thumbsup: jetzt klappt das auch mit der Mobilen-Ansicht

    There are only 10 types of people in the world: Those who understand binary, and those who don't.