Johnrdorazio
Joined August 15, 2020
no edit summary
Johnrdorazio (talk | contribs) No edit summary |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 40: | Line 40: | ||
In this very moment you seem to be using a <mobileonly>mobile</mobileonly><nomobile>desktop</nomobile> device. | In this very moment you seem to be using a <mobileonly>mobile</mobileonly><nomobile>desktop</nomobile> device. | ||
Here is an html structure that will only show on mobile: | Here is an html structure with block elements that should only show on mobile, using <code><mobileonly></code> tag: | ||
<mobileonly> | |||
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div> | |||
</mobileonly> | |||
Here is a similar html structure with block elements that will only show on mobile, using <code><onlymobile></code> tag: | |||
<onlymobile> | <onlymobile> | ||
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div> | <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div> |