You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 19th 2015, 9:43am

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

Tuesday, May 19th 2015, 4:53pm

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