Sie sind nicht angemeldet.

1

Dienstag, 19. Mai 2015, 09:43

how to write a custom style with CSS 3d attribute in Krpano XML ?

HI , I have a style such as <style type="text/css">
.box{ border:1px solid #f60; width:100px; height:100px; margin:0 auto;
-webkit-border-radius:150px;
-moz-border-radius:50px;
-o-border-radius:50px;
border-radius:50px;
rotateZ: 40deg;
}


I want to use it in krpano XML <style> tag. I write it as <style name="box" border="1px solid #f60" width="100px" height="100px" border-radius="50px" ...../> But it is useless. What is the problem? *confused*

2

Dienstag, 19. Mai 2015, 16:53

Hi,

the <style> element in krpano has nothing todo with CSS styles. The <style> is only a container for xml attributes for the layer/plugin or hospots elements.

Best regards,
Klaus