문제

I've been working on a presentation using Impress.js, and was thinking of adapting it for use on iPads. But I'm concerned about how Impress applies transforms to each slide. Instead of just using CSS, transforms are put in the HTML as data attributes, then applied with Javascript.

This strikes me as an overly complicated and difficult way of doing things. I don't have a lot of experience working with data attributes, though, so I wanted to get some opinions on this. Would it be better to just write CSS normally, or do the benefits of using data attributes outweigh the hassle?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top