BenjaminKaiser
Posts: 0
Joined: Thu Nov 28, 2013 11:17 am

get carousel at 100% height of its parent component via css

Hello,

how can I stretch a carousel to 100% of it's parent component without using Javascript? It works with javascript, but that means that I can see on my phone how the elements are getting "repositioned" when using the "page show" event. If I use css everything is directly in the right position, but how can I do this?

Best,

Benny

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

get carousel at 100% height of its parent component via css

Hello Benjamin,

You should create a css file and set 100% width to the internal elements of the carousel . For example, for a picture you can set in Properties Dimension:100% auto. Then the picture will be as width as the content.

BenjaminKaiser
Posts: 0
Joined: Thu Nov 28, 2013 11:17 am

get carousel at 100% height of its parent component via css

Hi,

I talk about the height, not the weight. :-) I have placed the carousel in a grid cell and I want the carousel fit exactly the grid cell. I can use JS, but if I do so I can see how the component is getting resized on my phone which looks bad... so I thought it should be possible by CSS to prevent this kind of "delay"...

Any thoughts?

Best,

Benny

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

get carousel at 100% height of its parent component via css

Hello Benny,

Please specify how do you set the height of the grid cell?

Return to “Issues”