@chrismills I’m on the button task and it makes a really ugly outline blue border every time it’s being selected (i’m now on Thimble since I’m on travelling with my sister’s computer! he; really great platform!). I’ve read a little bit and know that’s for accessibilities issues but give would prefer making my own designs for them and could not get rid of it with any of the suggested codes. Could you give a hint? Thanks agaaaaain! hehe
I am assuming you’re talking about the default focus borders given to links when you tab through them? As described in:
If so, you can get rid of these / customise the styling of them using the outline property, for example
outline: 2px dotted red
Morning Chris! (@chrismills; morning at least here! he) . It’s not a link’s border but the box I’m making. When I select it, it gets this blue border. Tell me if you see it here in the picture.
Could be just some sort of selecting thing in Thimble but already happen to me in chrome and firefox when styling other exercises. (https://thimbleprojects.org/maurodibert/371179/):
p/d: the button it’s not cool yet! hehe
Ummmm, no, I can’t see the blue border on this - sorry! It shouldn’t get it anyway - it is a paragraph, not a link or form element (so won’t get it by default - <p>s aren’t tabbable).
And also Chris (@chrismills) and sorry for the messy questions today!
how can I center it responsively both vertically and horizontally? I’ve also read a bit about it an seem to be various ways but non one convention. Is there any correct way? Because I really love to center things!!! hehe
I’ve just play changing the typo for “cool” and wanted everything centered. (I’ve still did’t read enough to look for the way!). I’ve done it like this (at the bottom almost):
font-size: 2.5rem; /* I’ve setup the entire html font to 10px so i can make it easier to use rems units */
background-image: linear-gradient(to top left, rgba(0,0,0,0) 20%, rgba(0,0,0,0.3));
margin: 200px auto;
text-shadow: 0px 0px 3px #000000, 1px 1px 8px #34342a;
border: 1px solid #8e0909;
box-shadow: inset 1px 1px 3px #797972, inset -1px -1px 5px #292926, 2px 2px 10px rgba(0, 0, 0, 0.81), -1px -1px 3px rgba(0,0,0,0.5), inset 3px 3px 3px rgba(255,255,255,0.3);
transition: 1s all;
box-shadow: inset 1px 1px 3px #e6e60a, inset -1px -1px 5px #ebeb0c, 0px 0px 4px rgba(16, 16, 15, 0.81), 0px -0px 2px rgba(114, 114, 110, 0.5), inset 3px 3px 3px rgba(255,255,255,0.3), inset -1px -1px 5px black;
background-image: linear-gradient(to top left, rgba(0,0,0,0) 20%, rgba(0,0,0,0.3)), linear-gradient(to bottom right, rgba(0,0,0,0.1) 30%, rgba(132, 7, 7, 0.9));
font-family: Amatic SC;
padding: 0px 5px 0px 5px;
transition: 2s all;
I know! It’s wired but for me that I know almost zero, everything it’s wired! hehe. I’ve changed the colors and it’s easier to discover it here but don’t matter at all and thanks again!