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;

}

Added April 13, 2020 11:19 pm

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:
https://www.youtube.com/watch?v=WS92LYlwU8Y

Advance Video:
https://www.youtube.com/watch?v=MlveQW5cNbM

Extra Videos:
https://www.youtube.com/watch?v=eK6txNYvTs0
https://www.youtube.com/watch?v=IhpCLUNJxZs

Answer by julie ★★★
Answered On May 3, 2020 12:48 am #
Looking for another answer? View other questions in CSS or get premium support for guaranteed results.
Asked by yogeshpalrecha
1027 views
1 answer
Last Answered 5 years ago by julie

Categories

Recent Answers

asked by nmax
asked by shanrt
asked by Ali Sodikin
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.