Subj : Re: Mobile Web Pages To : 711 Spooky Mart From : Sys64738 Date : Mon Nov 08 2021 20:35:06 Re: Re: Mobile Web Pages By: 711 Spooky Mart to alt.bbs.synchronet on Mon Nov 08 2021 14:40:41 > Use responsive CSS3 to change size and layout of page elements based on > viewport and @media declarations. This is called "responsive layout." > > Don't use JavaScript. You'll have to do ten times as much coding with > JavaScript as CSS3, it will be more error-prone, and it will slow down > page loading. > > It may take an hour or two to really grok what the DOM is doing with > CSS3 @media statements. It's a lot easier than messing around with JS. I > have built many, many websites without a single line of JavaScript that > look clean and scaled perfectly to whatever device is viewing. > > You can also find free 'pure CSS3' responsive templates online that will > speed you on your way. > > Here is a good start: > > Responsive Web Design - Media Queries > https://www.w3schools.com/css/css_rwd_mediaqueries.asp > > Responsive Web Design - The Viewport > https://www.w3schools.com/css/css_rwd_viewport.asp > > Viewport concepts > https://developer.mozilla.org/en-US/docs/Web/CSS/Viewport_concepts > > Fun With Viewport Units > https://css-tricks.com/fun-viewport-units/ Good info! Thanks! SYS64738 --- þ Synchronet þ TEXNet * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .