Similarity, on the other hand, is expressed by the construction X 跟gēn Y一样yī yàng ‘the same (lit. one kind)’ + adjective:
玫瑰花跟茉莉花一样香。
Méi guī huā gēn mò lì huā yī yàng xiāng。
Roses smell as sweet as jasmine.
菠菜跟白菜一样好吃。
Bō cài gēn bái cài yī yàng hǎo chī。
Spinach is as tasty as cabbage.
[1] Yip, P. C., Rimmington, D., Xiaoming, Z., & Henson, R. (2009). Basic Chinese: a grammar and workbook. Taylor & Francis.