I have a logo name called Example.
I want the Exam to be blue and the le to be red.
I know you can use :first-letter but I need to change up to 4 characters. It’s the only thing stopping me from making a pure CSS logo instead of using an image.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
<!doctype html> <html> <head> <title></title> <style> h1 { font-size: 0; } h1:before { content: 'Examp'; color: #0000ff; font-size: 32px; } h1:after { content: 'le'; color: #ff0000; font-size: 32px; } </style> </head> <body> <h1>Example</h1> </body> </html>