IndianaGuy Posted March 8, 2017 Share Posted March 8, 2017 How would I select ui block-a with id "desc". Also, how would I select .ui block-a with class "titles" as the same time? Thank you in advance .ui-block-a, { background-color: lightgray; border: 1px solid black; height: 300px; font-weight: bold; text-align: center; } Link to comment Share on other sites More sharing options...
Ingolme Posted March 8, 2017 Share Posted March 8, 2017 You can select multiple things using the comma. With an ID, you never need to prefix it with any other selectors because it's unique on the page. To search for something that contains two classes, attach both classes to the selector. #desc, .ui-block-a.titles { Link to comment Share on other sites More sharing options...
IndianaGuy Posted March 8, 2017 Author Share Posted March 8, 2017 Exactly what I needed. Thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now