Incorrect CSS for certain layers« Back to Questions List
As per Photo shop the CSS says
.Rounded_Rectangle_6 { border-width: 1px; border-color: rgb(194, 194, 194); border-style: solid; border-radius: 4px; background-color: rgb(255, 255, 255); position: absolute; left: 88px; top: 1185px; width: 311px; height: 333px; z-index: 50; } But its exporting as
#rounded_rectangle_6 { top: 0px; left: 0px; width: 313px; height: 335px; -ms-border-radius: 4px; -o-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background:#FFFFFF; } |
Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!
Hi, You will have to add a css class in XD to render the way you expected. By default all css properties apply to ids first. Beginner Video: Advance Video: Extra Videos: |
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.