Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialchannonhall
12,247 PointsNext, add a transform function that evenly scales .badge by 1.5.
Can someone help me I forgot how to:
add a transform function that evenly scales .badge by 1.5.
/* Complete the challenge by writing CSS below */
.badge {
transform: rotate(-15deg), translateY(50px);
}
<!DOCTYPE html>
<html>
<head>
<title>Transforms</title>
<link rel="stylesheet" href="page.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<img class="badge" src="css-badge.png">
</body>
2 Answers
Tiffany McAllister
25,806 Points.badge {
transform: rotate(-15deg), translateY(50px), scale(1.5);
}
channonhall
12,247 PointsThe best answer question WORKS.
if anyone was wondering.
channonhall
12,247 Pointschannonhall
12,247 PointsThanks!!