How to combine texts from left to right using GSAP - css

I just want to ask how did the developer do the animation of his name combining together from right to left? I just want to implement it myself to enhance my css skills.
Seems like he used GSAP ScrollTrigger here if I'm not mistaken.
https://www.danielspatzek.com/degenesis

Here is an incomplete jsFiddle that will hopefully point you in the right direction:
http://jsfiddle.net/86wkz3qu/19/
This example doesn't use scrollTrigger but I would highly recommend using it for something like this.
NOTE: Make sure the result display window is 870px for this example to get this sort of thing to scale I would try using vw instead of %
Sorry I can't spend more time on this- but good luck! :)

Related

creating a round list in CSS (for a round menubar)

I am really hoping someone can help me. I am trying to create a round menubar in CSS and I've searched and searched for solutions but have found nothing. I know how to create round areas (by setting the radius), and I know how to create a simple straight line menu using <ul> & <li> but, as said, I want to create a round one.
there is a picture of something alike what I'd love to get working:
If anyone could help me on this I'd be so thoroughly grateful.
Closest things I know of are these:
http://www.cssplay.co.uk/menus/cssplay-round-and-round.html
http://codepen.io/tgrant54/pen/lBHwK
Is that what you're after?
This menu looks almost like Path's Button.
You can find the link to Path's Button here.
You just need to modify it a bit so the menu displayed in full sphere.
This isn't something you really want to be doing in pure CSS.
You may be able to make circle shapes with border-radius, but you're not actually making a circular object -- it's still a regular box shape as far as the browser is concerned, just with the corners rounded off. This has absolutely no bearing at all on your ability to do anything else to do with circles or curves in CSS.
Yes, it's possible to do something along the lines you're after, by putting every character into its own element, and styling each of them with a specific position, but that's going to be painful, inflexible, and difficult to work with. If you really want to do this, there's a code generator you could try out here, but I'd say you're barking up the wrong tree.
If you want to do this kind of thing properly, what you really need to be thinking about is doing it in graphical format, using either Canvas or SVG, plus plenty of javascript code.
I'd suggest looking into a JS library like Raphael for this; there are people who have tried similar things already using Raphael, which may help you -- see here, for example: Radial Pie Menu With Raphael JS
Hope that helps.

How to add some CSS/html5 effects to give it the illusion of it being fiery?

I have just been trying out and sort of learning bits and bobs in html5. I basically have this little animation: http://jsfiddle.net/Hazza/dJgC9/4/ It is just some images falling out the sky repeatedly. Fun. I was just wondering if there was some way to make them look a bit more exciting. They are supposed to be meteors, or something. So I was looking to try and add the illusion of fire to them. I thought I could have a few different images with different CSS effects like blur and load them randomly as they fall. But it looked...yeah. Retarded. This was kinda the effect I was going for: http://gw2101.gtm.guildwars2.com/en/ . That is flash. And looks fancy as.
Is this at all possible do you think? Or is it something best left to photoshop and then alternate between a few different images? I suck at photoshopping. :D
Anyway I was just playing around for a bit of fun. I'm already secretly proud of my terribad little firestorm but hey, it's a start. Thanks for any input or insight.
Try this, my friend. http://mentadreams.com/2011/03/fire-effect-with-css3/

How to Stretch an image by dragging its sides in Adobe flex?

I want to develop a hair style app in adobe flex. In that ,the wigs should be placed in right position.
So i want to adjust the wigs in x and y directions.
Does anybody know how to stretch an image in x and y direction?
App Reference:
https://play.google.com/store/apps/details?id=air.MagicMirrorFree&feature=search_result
Thanks in advance
Take a look at the very good Transform Tool. I've used it myself and can highly recommend it.
you can put re-size handlers on pretty much anything, for example like this:
http://flexdevtips.blogspot.com/2009/03/resizable-containers.html
Hope that helps
If you want to develop it by yourself, you may have a look on the transformation matrix class. There is a very good tutorial about this:
http://www.senocular.com/flash/tutorials/transformmatrix/
Otherwise, you may use existing library:
as Richie_W mention, Transform Tool is a good one, the following is Transform Tool Developer Guide:
http://www.senocular.com/flash/tutorials/transformtool/
The following link is Transform Tool using in flex:
http://www.sephiroth.it/weblog/archives/2007/07/transformtool_modification.php
TransformManager is also another one:http://www.greensock.com/transformmanageras3/
but this is a commercial one.

How to make this pattern to be background image?

I have this kind of pattern
http://i.imgur.com/O99Vw.png
in big part of PSD, and how would you set this kind of pattern to be background on HTML page. I shouldn't take bit picture right?
Also I tried to cut a peace and repeat it, but it doesn't match, it looks bad and it's distorted
Try this one:
I've just cut a square out of the image you sent and it looks ok IMO.
Since we are not aware of the kind of pattern you have, here are some suggestions.
You can use CSS3 patterns if site supports only modern browsers.
If its a pattern sure you can cut a small piece from it & can repeat.
Some links may help
http://lea.verou.me/css3patterns/
http://www.patternify.com/
http://subtlepatterns.com/
http://24ways.org/2011/css3-patterns-explained
http://bgpatterns.com/
Check out this link http://lea.verou.me/2010/12/checkered-stripes-other-background-patterns-with-css3-gradients/ if you are allowed to use CSS3. This will get you the desired effect you want.
Try this: http://www.stripegenerator.com/
CHECK this:: patternify.com
i make a bg image similar to yours with this tool, in fact is so easy n__n

CSS Text Editing

Hey guys I have a question, I plan on making a website for a friend that wants a nice description about them, for in terms of design they want something like this:
dsdsdsds
sdsdsdsdsdsdsd
sdsdsdsdsdsdsdsdsds
sdsdsdsdsdsdsdsdsdsdsdsd
sdsdsdsdsdsdsdsdsdsdsdsdsd
sdsdsdsdsdsdsdsdsdsdsdd
sdsdsdsdsdsdsdsdsdsd
sdsdsdsdsdsdsds
sdsdsdsdsdsd
sdsdsdsd
So basically small line of text at the start, and increase for the middle, then decrease in size near the end, so basically a circle type. Any ideas?
One bad way is to have a fixed number of lines (and maybe no word-wrap). Just do spans and have the id's of each span have a pre-defined width.
A better (somewhat) way is to do something along these lines css circle via stack-overflow. You may have to tweak it though (and I haven't tried it), but you could play around to see of you like it.
I'm pretty certain the latter is the way you would go, but the ease of constructing it may not be overly fast.
Good luck!
After looking around in Google, I have found this:
CSS Text Wrapper
It involves javascript, but you dont really need to know javascript in order to use it.
if you want to achieve that use
<pre></pre>
then apply the css to the text.
Its the easiest way to do that.

Resources