Cardi B lashed out at Madonna for suggesting that the former’s song, “WAP,” owed its sex-positive ethos to the Material Girl’s legacy.

“I literally payed [sic] this woman homage so many times cause I grew up listening to her …she can make her point without putting clown emojis and getting slick out the mouth,” the rapper, 30, wrote in a since-deleted tweet on Sunday.

“These icons really become disappointments once u make it in the industry that’s why I keep to myself.”

Cardi was upset over Madge’s Instagram Story from Saturday, which suggested that the latter’s 1992 erotica book, “S.e.x,” paved the way for today’s female artists’ creative expression.

“In addition to photos of me naked there were photos of Men kissing Men, Wom[e]n kissing Wom[e]n and Me kissing everyone,” Madonna wrote of the controversial coffee table book

Cardi B red carpet

Cardi B fired back at Madonna for shading her song, “WAP.”

Cardi B performing on stage

Cardi B fired back at Madonna for shading her song, “WAP.”

Cardi B performing on stageCardi B fired back at Madonna for shading her song, “WAP.”The

Queen of Pop, 64, explained she “spent the next few years being interviewed by narrow minded people who tried to shame [her] for empowering [herself] as a Woman,” adding that she “was called a whore, a witch, a heretic and the devil.”“Now Cardi B can sing about her WAP. Kim Kardashian can grace the cover of any magazine with her naked ass and Miley Cyrus can come in like a wrecking ball,” she noted, signing off with: “You’re welcome bitches ……. .”

Cardi B tweets

“These icons really become disappointments,” Cardi tweeted.

Cardi B tweets

“These icons really become disappointments,” Cardi tweeted.

After a Twitter user argued that “you can’t hear tone through typed words,” Cardi fired back, “If I type ‘suck my d–k’ you gone hear the tone bitch.”

Others sided with the “Bodak Yellow” hitmaker, agreeing that Madonna’s last line was particularly offensive.

Madonna's Instagram Story statement

Madonna had suggested that she was to thank for many of today’s sex-positive hits, writing, “You’re welcome bitches ……. .”“‘You’re welcome bitches…’ don’t seem rude to y’all or we just playing dumb cause it’s cardi?” one fan tweeted, to which Cardi replied, “Lmaaaooooooooooo EXACTLY.”The “Money” rapper also re-tweeted several supportive messages, including one that read, “I hate when we complain about cardi standing up 4 herself! Y did madonna call them bitches and use the clown emoji? That was rude 4 no reason.”

Madonna on the red carpet

Madonna on the red carpet

“Now Cardi B can sing about her WAP,” Madge wrote in part.

Hours later, Cardi informed her followers that she and the “Like a Virgin” singer had spoken and squashed their beef.

“I talked to Madonna …It was beautiful,” she shared. “Have a great day and drive safely yallll.”

Madonna in 1984

Madonna and Cardi have since spoken and cleared the air.

Madonna on her Blonde Ambition tour in 1990

Madonna and Cardi have since spoken and cleared the air.

Madonna co-signed the tweet, proclaiming, “I love you @iamcardib !!  Always have and always will.”

“Love you ,” the “Up” artist replied, prompting fans to celebrate the pair’s reconciliation.

“Knew it would be a happy ending,” one wrote in response, as another added, “Exactly respect.  Ok @Madonna its all good now. Thanks for being just as direct and using the @ button.”