Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercice n°4 : bug lors du test #3

Open
PierreTDX opened this issue Jun 11, 2024 · 2 comments
Open

Exercice n°4 : bug lors du test #3

PierreTDX opened this issue Jun 11, 2024 · 2 comments

Comments

@PierreTDX
Copy link

la box-shadow n'est pas reconnu par le test, alors qu'il est dans le css

@Younnbzh
Copy link

le test demande un rgba avec opacité pour le box-shadow
par exemple :
box-shadow: 2px 5px 10px rgba(204,204,204,0.5);

amha
box-shadow: 2px 5px 10px #ccc;
devrait être valide, mais ne passe pas le test

@alangnt
Copy link

alangnt commented Jan 24, 2025

@Younnbzh

box-shadow: 2px 5px 10px #ccc;
ne peut pas être valide puisqu'il est demandé un format rgba et non hexadécimal. Il faut convertir le code en format rgb, ce qui donnerait :
box-shadow: 2px 5px 10px rgba(204, 204, 204, 1);
par exemple, et ensuite à toi de jouer avec l'opacité si tu le veux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants