You are viewing our Forum Archives. To view or take place in current topics click here.
CSS Tidy Web App
Posted:

CSS Tidy Web AppPosted:

-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
I thought I'd go ahead and share an app I'm currently working on in case anyone here feels like contributing. The app is a CSS tidier and formatter at its core and is soon to have support for a bunch of different formats and writing styles. Primarily it formats solely using Regular Expressions and String.replace in JavaScript. So if you want to check it out and maybe even give a helping hand, the links are below. Also if you have any general web dev questions then feel free to PM me them or ask me on AIM (JordanCallumA). Anyway, enjoy.

note: Please keep in mind that this app is in it's very early stages (I literally started it about 24 hours ago) and so it may not work in all browsers and is likely to be somewhat buggy.

Working app - [ Register or Signin to view external links. ]
Github repo - [ Register or Signin to view external links. ]

The following 1 user thanked -Jordan- for this useful post:

Z61 (11-18-2011)
#2. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Is this what its supposed to do?
[ Register or Signin to view external links. ]
#3. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Zachman61 wrote Is this what its supposed to do?
[ Register or Signin to view external links. ]


Yupp. Btw, back-color isn't a valid CSS property.
#4. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
-Jordan- wrote
Zachman61 wrote Is this what its supposed to do?
[ Register or Signin to view external links. ]


Yupp. Btw, back-color isn't a valid CSS property.

Yea i know, just typing quickly lol.
I know its:
background-color: /* Color here */
#5. Posted:
Buried
  • TTG Natural
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 922
Reputation Power: 39
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 922
Reputation Power: 39
Works great! Thought I might as well do mine.
#6. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
I know this is somewhat off topic, but how did you use that font? I know how to change font-family but how did you get a font without us having to install it.
#7. Posted:
Derp
  • TTG Senior
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
This seems like a great tool, but I think it would be a lot more useful if you made this to work with javascript.
#8. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Derp wrote This seems like a great tool, but I think it would be a lot more useful if you made this to work with javascript.

I believe he said it could possibly support multiple languages in the future.
#9. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Zachman61 wrote I know this is somewhat off topic, but how did you use that font? I know how to change font-family but how did you get a font without us having to install it.

By using @font-face. FontSquirrel has a lot of webfont kits for it.


Zachman61 wrote
Derp wrote This seems like a great tool, but I think it would be a lot more useful if you made this to work with javascript.

I believe he said it could possibly support multiple languages in the future.

There is no plan to make this support JavaScript in the future. When I said it would support multiple formats, I meant writing formats such as...

selector {
    prop: val;
}
-------------------
selector { prop: val; }
-------------------
selector
  { prop: val;
    prop: val; }
-------------------
selector
  { prop: val; prop: val; }
#10. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
-Jordan- wrote
Zachman61 wrote I know this is somewhat off topic, but how did you use that font? I know how to change font-family but how did you get a font without us having to install it.

By using @font-face. FontSquirrel has a lot of webfont kits for it.


Zachman61 wrote
Derp wrote This seems like a great tool, but I think it would be a lot more useful if you made this to work with javascript.

I believe he said it could possibly support multiple languages in the future.

There is no plan to make this support JavaScript in the future. When I said it would support multiple formats, I meant writing formats such as...

selector {
    prop: val;
}
-------------------
selector { prop: val; }
-------------------
selector
  { prop: val;
    prop: val; }
-------------------
selector
  { prop: val; prop: val; }

Oh, thats pretty awesome
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.