css3 slide page transitions - html

I would like to do the page transition in the mobile app by using html5 and css3, how can i do that? I don't want to use jQuery, because it is very heavy. can anyone can suggest another framework to do page transition in mobile device?

How about
MooTools? Link here
SenchaTouch(libraries specifically for Mobile devices) link here

Related

Responsive design doesn't working tailwind

Hi I've got problem with responsive design because it's working in browser, when im changing browser size to small site is changing but when i'm going on site using mobile device or inspect element tool it's not changing. Here is demo of website: https://horrorfiles.htw.pl
I'm using tailwind css and react js, i made lots of projects using that and thats my first case.
I guess you need to read proper documentation and then apply the usual breakpoints for responsiveness here is the documentation of breakpoints and everything looks on good on your site.
enter link description here
I think the problem is you're using the breakpoint prefixes to target mobile devices instead of designing for mobile then using breakpoint to target larger screens. Tailwind's documentation has this: https://tailwindcss.com/docs/responsive-design.

How to Make Sure that the Pure Static Website developed with Html and CSS works the same across all the devices?

I am doing web homework and the task is to replicate a webpage but with entirely HTML and CSS. The webpage should be static and should not resize as the browser window is shrunk. The problem I am facing is how can I make sure that the website will run the same on every device because the webpage looks different on my device and different on my friend's device.
I have used pixel values in CSS (not %) to implement the positioning of elements in the webpage.
Unfortunately, I cannot share the code on this platform.
Can someone help me point out how can I achieve the above mentioned with only HTML and CSS?
I believe it is happening because you and your friend are rendering the page in different browsers. WebKit & Mozilla rendering engines implement line-height differently. I suggest you add Firefox, chrome and any other browsers css specifically wherever there is a conflict in display in styling of element.

Why my webpage is not working properly on phones but it works good at desktop

I am trying to make a webpage with HTML,css and jquery. But the problem is that the webpage is not working properly on phone or other small screen devices. Here is the link for the page.
The solution is quite simple. To have responsive layouts, use percentages for width/height and margins rather than pixels (px) so that they can auto-resize when the screen size changes. To make your bottom bike image look responsive, use width: 95% and height: 95% (or whatever other percentage you'd like). For the Bikerz icon, try using margin: Google Chrome's inspect feature is very useful so make sure to test it out on it. Simply right click on the web page and click Inspect. Once you are there you will see an icon left of the "Elements" section. When you click that, you can view your web page layout under different resolutions.
Either you have to write custom css to support mobile device or I will recommend to use Bootstrap framework in order make compatible your site on mobile. Bootstrap will allow you to developing responsive, mobile first projects on the web.
If you are going to use css then, i will also recommend you to validate your css support at different browser and mobile platform through canIuse.

mobile html5 videos using sprites

The new FB paper app website has html5 videos when seen from a non-mobile device.
A video like effect is achieved on the mobile website (tried on iOS browsers) using some kind of weird sprites.
Does anybody know how to implement that?
I think that used a method originally used by Apple.
Take a look at this

HTML5 input slider difficult on smarphone smartphone

I am currently having problems with the HTML5 input[type=range]. It is fine in chrome on the desktop, but has some issues on smartphones. It is difficult to change the slider with big fingers. Plus you can't really slide, you can only click the range input.
How have you integrated this in your HTML5 websites?
The HTML5 input[type="range"] shows a slider that works great on desktops.
On touchscreen phones you have to tap; not slide. Except on iOS, where you first have to tap the slider button and then you can slide it.
If you want to build a better slider on smartphones you should probably take a look at jQuery UI or some kind of mobile framework (jQtouch, jquery mobile, etc). They will optimize the output based on the device.