Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

W3 CSS

10 Aug 2018, 08:41

Hi there,

if imagevuex support w3 css, like something below? 
Code
<div class="w3-container w3-center w3-animate-opacity  w3-animate-bottom">
  <h1>Welcome!</h1>
  <p>Hello hello.</p>
  <img src="img123.jpg" alt="Car" style="width:100%">
</div>
 thanks

Leon
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: W3 CSS

10 Aug 2018, 10:47

Just for your reference, w3css is an external CSS library (like Bootstrap, Foundation etc), that you would have to LOAD into X3. You could add the below to Settings > Custom > Custom Head. We don't use this library in X3 no.
Code
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
If you load it into X3, you would have access to the styles. I am not sure what your aim is though ... X3 already includes Foundation 5.3 framework, which has many similar styles and perhaps more. Also, in your example, that animation would only happen once immediately when page is loaded, and Im thinking it's unlikely the visitor will even see the animation
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: W3 CSS

13 Aug 2018, 08:54

Hi there, 

thanks a lot for the reply, I like the style of this type of  website.  http://demo.cssmoban.com/cssthemes3/ft5 ... index.html

some content(text or image) can fade in from bottom, I like this effect in X3 page. 

is it possible X3 have the similar effect?

thanks

Leon
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: W3 CSS

13 Aug 2018, 10:00

Thing is, this is more than just a simple CSS. This is a layout which someone has spent time creating, with javascript-triggered animations. Even if we include some CSS in X3 or you use W3css to achieve that, it would require pretty advanced web-design skills to setup a page like that.

On a personal note, I would never use animations that show up like that on scroll ... I just find it annoying, and it's of no benefit to visitors. I enjoy a nice clean design and layout, sure, but the animation doesn't bring anything to the table. Just my personal opinion  :upside_down: