#css properties are not applying

13 messages · Page 1 of 1 (latest)

rich fiber
#

https://scrimba.com/scrim/co032495a9b291e91087ffe0f
i feel like im going insane with this project, now none of the styles are applying to the reply button and reply input

Scrimba

Learn to code with interactive scrims. Our courses and tutorials will teach you React, Vue, Angular, JavaScript, HTML, CSS, and more. Scrimba is the fun and easy way to learn web development.

half lily
#

@rich fiber What styles and/or css classes are supposed to be applied to those elements?

rich fiber
half lily
#

Is there supposed to be a specific class applied to it?

crimson willow
#

If you’re taking away the default focus state of the input make sure to add back something that indicates to the user it has focus. To give it outline : none on focus

.reply-input:focus{outline:none;}

rich fiber
#

i did that but it isnt responding D :

#

@half lily i want the reply button to be smaller than the tweet button, but with same styling so i added an id for the styling on the reply to be just on the reply

half lily
rich fiber
#

i was using the id for that, #reply-btn {} but it still wasn't working

half lily
rich fiber
#

thank you!!

crimson willow
#

Your css has a focus selector on #reply-input but your html textarea has an id of #tweet-input