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 trial

CSS

I would like to style the checkbox on my page with my own check mark and background color. using the :checked pseudo

      input[type^="checkbox"] {
             -webkit-appearance: none;
            border: 1px solid   rgb(141, 214, 205);
             background-color:  rgb(255, 217, 179);
             border-radius: 5px;
             width: 15px;
             height: 15px;
        }

        input[type^="checkbox"]:hover {
             -webkit-appearance: none;
             border: 1px solid rgb(141, 214, 205);
             background-color: rgb(141, 214, 205);
             border-radius: 5px;
             width: 15px;
             height: 15px;
        }

        input[type^="checkbox"]:checked {
              background-color: rgb(37,22,82);
             border: 1px solid rgb(37,22,82);
             border-radius: 5px;
             width: 15px;
             height: 15px;
        }

  ```css

  My code now.

2 Answers

yes I figured it out .. thanks anyway ... happy codings!