Sinisterly
Lil help with CSS - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Design (https://sinister.ly/Forum-Design)
+--- Forum: Web Design (https://sinister.ly/Forum-Web-Design)
+--- Thread: Lil help with CSS (/Thread-Lil-help-with-CSS)

Pages: 1 2 3 4 5 6


RE: Lil help with CSS - Slarek - 10-03-2013

(10-03-2013, 02:01 PM)FZEROX Wrote:
(10-03-2013, 01:59 PM)Slarek Wrote:
(10-03-2013, 01:56 PM)FZEROX Wrote:
(10-03-2013, 01:40 PM)Slarek Wrote: @FZEROX
You can have multiple ids.
Yet i don't understand the problem using different ids.
I hope you find the answer from class though

You can have multiple ids but the browser will read only the first one.

You're wrong. I've used multiple ids so i know it works.
How come it wouldn't work?

stackoverflow

Damn Stackowerflow.
I can paste you a homework of mine where i've used multiple ids if you want to.


RE: Lil help with CSS - Slarek - 10-03-2013

(10-03-2013, 02:01 PM)FZEROX Wrote:
(10-03-2013, 01:59 PM)Slarek Wrote:
(10-03-2013, 01:56 PM)FZEROX Wrote:
(10-03-2013, 01:40 PM)Slarek Wrote: @FZEROX
You can have multiple ids.
Yet i don't understand the problem using different ids.
I hope you find the answer from class though

You can have multiple ids but the browser will read only the first one.

You're wrong. I've used multiple ids so i know it works.
How come it wouldn't work?

stackoverflow

Damn Stackowerflow.
I can paste you a homework of mine where i've used multiple ids if you want to.


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 01:40 PM)Slarek Wrote: -snip-


I found a better solution asking on Stackoverflow:

Quote:You should specify the property you want the transition to apply, so the other properties (like the color) are not affected.

Code:
#server:focus { background: rgba(0, 34, 255, 0.2); transition:background; transition-delay:0.5s; }



RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 01:40 PM)Slarek Wrote: -snip-


I found a better solution asking on Stackoverflow:

Quote:You should specify the property you want the transition to apply, so the other properties (like the color) are not affected.

Code:
#server:focus { background: rgba(0, 34, 255, 0.2); transition:background; transition-delay:0.5s; }



RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 01:40 PM)Slarek Wrote: -snip-


I found a better solution asking on Stackoverflow:

Quote:You should specify the property you want the transition to apply, so the other properties (like the color) are not affected.

Code:
#server:focus { background: rgba(0, 34, 255, 0.2); transition:background; transition-delay:0.5s; }



RE: Lil help with CSS - Slarek - 10-03-2013

I don't understand why you didn't use different ids in the first place.
And what was that snip?

Edit: Anyways, great you find solution:Smile:


RE: Lil help with CSS - Slarek - 10-03-2013

I don't understand why you didn't use different ids in the first place.
And what was that snip?

Edit: Anyways, great you find solution:Smile:


RE: Lil help with CSS - Slarek - 10-03-2013

I don't understand why you didn't use different ids in the first place.
And what was that snip?

Edit: Anyways, great you find solution:Smile:


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 06:11 PM)Slarek Wrote: I don't understand why you didn't use different ids in the first place.
And what was that snip?

Edit: Anyways, great you find solution:Smile:

Snip because there was too much text.
This one seems cleaner and more organised.


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 06:11 PM)Slarek Wrote: I don't understand why you didn't use different ids in the first place.
And what was that snip?

Edit: Anyways, great you find solution:Smile:

Snip because there was too much text.
This one seems cleaner and more organised.