+ 1

How to rotate box text inside that cyan box

https://code.sololearn.com/WG98g2Hv614A/?ref=app

4th Oct 2022, 12:38 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar
9 Réponses
+ 2
What exactly did not work? What exactly did you try? Please clarify. https://code.sololearn.com/WK1Z3aPM79rM/?ref=app
4th Oct 2022, 1:08 PM
Lisa
Lisa - avatar
+ 6
Use transform and rotate
5th Oct 2022, 3:27 PM
Vaibhav
Vaibhav - avatar
+ 1
I only added the flex-box later because I assumed that you may not only want to rotate the text but also center it... Anyway, great that it works for you now!
4th Oct 2022, 6:37 PM
Lisa
Lisa - avatar
0
for example .r{ transform:rotate(-45deg); }
4th Oct 2022, 12:45 PM
Lisa
Lisa - avatar
0
Didn't worked😑
4th Oct 2022, 12:49 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar
0
Sorry i didn't tried that much codes flex align-content justify-content align-items Also i am newbie😅
4th Oct 2022, 6:31 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar
0
And thanks again
4th Oct 2022, 6:32 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar
0
Thanks one more go check plzz😅
4th Oct 2022, 6:52 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar
0
Thanks i done it now i want to format my input section along with input information
5th Oct 2022, 3:40 PM
MohdSalmanAnsari
MohdSalmanAnsari - avatar