<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Felipe Dacal Fragoso on Medium]]></title>
        <description><![CDATA[Stories by Felipe Dacal Fragoso on Medium]]></description>
        <link>https://medium.com/@fefragoso?source=rss-a955957d5fe6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yDMFG3k_qEe4rZf_LbvOGQ.jpeg</url>
            <title>Stories by Felipe Dacal Fragoso on Medium</title>
            <link>https://medium.com/@fefragoso?source=rss-a955957d5fe6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:35:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fefragoso/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[CSS Animation a Simple Tutorial Guide]]></title>
            <link>https://medium.com/@fefragoso/css-animation-a-simple-tutorial-guide-b725c5c960de?source=rss-a955957d5fe6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b725c5c960de</guid>
            <category><![CDATA[keyframes]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[animation]]></category>
            <dc:creator><![CDATA[Felipe Dacal Fragoso]]></dc:creator>
            <pubDate>Fri, 19 Jun 2020 15:07:43 GMT</pubDate>
            <atom:updated>2020-06-19T15:07:43.203Z</atom:updated>
            <content:encoded><![CDATA[<p>So after building your website you feel something is missing. Maybe the website is a little bit ecstatic? With CSS, you can give some movement, using animations. The goal in this article isn’t to explain deeply the concepts of animation, such as keyframes, frames, and any other. To get a better concept overview I strongly recommend the book <a href="https://www.bookdepository.com/The-Animators-Survival-Kit-Richard-Williams/9780865478978?redirected=true&amp;utm_medium=Google&amp;utm_campaign=Base1&amp;utm_source=DK&amp;utm_content=The-Animators-Survival-Kit&amp;selectCurrency=DKK&amp;w=AF4ZAU9SK76G29A8VCPU&amp;gclid=CjwKCAjwt-L2BRA_EiwAacX32cpH_KKWO-DCb0bqVCnilFsIysZf3lIyJRTNTUXWSzVpOI6Z4JMd-xoCZU0QAvD_BwE">The Animator’s Survival Kit</a> from <a href="https://pt.wikipedia.org/wiki/Richard_Williams_(animador)">Richard Williams</a>.</p><p><strong>ANIMATION CONCEPT</strong></p><p>The animation is “a method in which <a href="https://en.wikipedia.org/wiki/Image">figures</a> are manipulated to appear as moving images.”. In CSS, the animation is the change from one CSS style to another over time.</p><p>Every animation has at least two states, a start point, and an endpoint. Those points are known as keyframes. And the points in between are known as frames. Those frames are calculated automatically by CSS using tweening animation.</p><p><a href="https://en.wikipedia.org/wiki/Film_frame"><strong>Frame</strong></a>: It is an image that composes all the moving image to generate an animation or any other animated media. Probably some of you draw in each page a moving character or anything else and moved fast the pages to see some movement. In this example, each pose on each page is a frame that composes the feeling of movement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*mYtl15pj7TUR0y-F_dRTbw.gif" /></figure><p><a href="https://en.wikipedia.org/wiki/Key_frame"><strong>Keyframes</strong></a>: Basically is the frame that defines the start and endpoint of a transition. E.g. A cube moving on space, to realize the movement we have the x,y,z initial point, and the final. With this, we can define how this cube will behave to reach from the start point to the endpoint.</p><p><a href="https://en.wikipedia.org/wiki/Inbetweening"><strong>Inbetweening</strong> or <strong>tweeting</strong></a><strong>:</strong> Is the process to create intermediate frames between keyframes. Given the appearance of movement to the element. It is possible to create those tween animations. In this article, I will show an example on how to use it. In a future article, I will show more about it.</p><p>Get this example: Fade the color from red to yellow, at some element. The animation effect should take one second. So when the animation starts the browser calculates a new color (in this example we are changing color) for every frame rendered and it does so using a linear timing function, which is the amount of change that occurs to the CSS values is exactly the same for each unit of time. In the real world, we normally don’t have perfectly linear, so it is possible to use easing functions to vary the way the animation behaves during the time. This is called <a href="https://stackoverflow.com/questions/8316882/what-is-an-easing-function#:~:text=An%20easing%20function%20is%20usually,to%20look%20a%20few%20examples.">easing functions</a>. Again we will not check those in-depth in this article but in a future one.</p><p><strong>ANIMATION USING TRANSITION</strong></p><p>The simplest way to create an animation in CSS is by using the <a href="https://www.w3schools.com/cssref/css3_pr_transition-property.asp">transition </a>property. This takes as first argument the desired property to animate. In our example the background-color. The next argument is the duration time, in our case 1 second. Here is possible to use millisecond (ms). So whenever the background color changes the transition takes place. To show this was used the <a href="https://www.w3schools.com/csSref/sel_hover.asp">hover effect</a>. So when the hover starts the transition takes place changing the color from red to yellow in an interval of 1 second.</p><p><a href="https://codepen.io/fdfragoso/pen/JjGdrvG">https://codepen.io/fdfragoso/pen/JjGdrvG</a></p><p><em>*** Note: After the time the transition can take more arguments, such as easing functions. Like was said this article won’t show this in-depth, but you can check the solution of this example using this function.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Ffdfragoso%2Fembed%2Fpreview%2FQWybqVJ%3Fheight%3D600%26slug-hash%3DQWybqVJ%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Ffdfragoso%2Fpen%2FQWybqVJ&amp;image=https%3A%2F%2Fassets.codepen.io%2F2638185%2Finternal%2Fscreenshots%2Fpens%2FQWybqVJ.default.png%3Fformat%3Dauto%26amp%3Bha%3Dfalse%26amp%3Bheight%3D400%26amp%3Bquality%3D75%26amp%3Bv%3D1%26amp%3Bversion%3D1591477781%26amp%3Bwidth%3D700&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/0dd4678f8f26ea933231a98b1c30d7ed/href">https://medium.com/media/0dd4678f8f26ea933231a98b1c30d7ed/href</a></iframe><p><strong>ANIMATION USING KEYFRAMES</strong></p><p><a href="https://codepen.io/fdfragoso/pen/BaNxGwz">https://codepen.io/fdfragoso/pen/BaNxGwz</a></p><p>In this example basically we render a square div and the animation changes its position, moving it to the right. Let’s inspect the code and made some comments:</p><p><em>The element that calls the animation:</em></p><p>div {<br> width: 100px;<br> height: 100px;<br> background: red;<br> position: relative;<br> animation: moveToLeft 2s infinite;<br>}</p><p>We have the selector div with some properties declaration. One of those is the animation. This is the property that calls our animation. As a value, it takes the animation-name followed by the duration time and the cycle. So in our example, the animation called is moveToLeft that will take 2 seconds to play and will play infinitely while the selector is rendered.</p><p><em>The keyframe rule:</em></p><p><a href="http://twitter.com/keyframes">@keyframes</a> moveToLeft {<br> from {left: 0px;}<br> to {left: 625px;}<br>}</p><p>We have the rule keyframe followed by the name of the animation. This rule in our example takes two animator selectors, from and to or 0% to 100%. From or 0% is the first keyframe and to or 100% the last keyframe. Those selectors take properties and values that need to be animated. So in our example, the div at the first frame has the property left set with a value of 0px and in the last frame, this same property is set with the value of 625px. So this rule will create an animation with those two keyframes and calculate the intermediate frames create the animation clip. The from and to selectors take n property and values, in the following example is added the change color to the animation.</p><p><a href="https://codepen.io/fdfragoso/pen/PoZWeJp">https://codepen.io/fdfragoso/pen/PoZWeJp</a></p><p><strong>ANIMATION WITH MIDDLE KEYFRAMES</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Ffdfragoso%2Fembed%2Fpreview%2FNWxdMww%3Fheight%3D600%26slug-hash%3DNWxdMww%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Ffdfragoso%2Fpen%2FNWxdMww&amp;image=https%3A%2F%2Fassets.codepen.io%2F2638185%2Finternal%2Fscreenshots%2Fpens%2FNWxdMww.default.png%3Fformat%3Dauto%26amp%3Bha%3Dtrue%26amp%3Bheight%3D400%26amp%3Bquality%3D75%26amp%3Bv%3D1%26amp%3Bversion%3D1592578856%26amp%3Bwidth%3D700&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/59a3c46353b844e62c067ddcb7e75cc3/href">https://medium.com/media/59a3c46353b844e62c067ddcb7e75cc3/href</a></iframe><p>When we have multiple keyframes we follow the same structure but adding the middle keyframes.</p><p><a href="http://twitter.com/keyframes">@keyframes</a> moveToLeft {<br> 0% { <br> left: 0px; <br> background: red;<br> }<br> 25% {<br> background: yellow;<br> }<br> 75% {<br> background: green;<br> }<br> 100% { <br> left: 625px;<br> background: blue;<br> }<br>}</p><p>In this example, the element start the animation with left: 0px and background red. When it reaches at 25% of the animation the color changes to yellow, after 75% changes to green and ends with blue. So the keyframe rule will calculate the animation in between, but make sure that in those keyframes the values of the properties are being followed like programmed.</p><p><strong>LIBRARIES</strong></p><p>One way to fast implement CSS animations is using libraries, here a list with a few libraries:</p><p><a href="https://animate.style/">Animate.css</a><br><a href="http://bouncejs.com/">BounceJS</a><br><a href="https://animejs.com/">AnimeJS</a><br><a href="https://ianlunn.github.io/Hover/">HoverCSS</a></p><p><strong>CONCLUSION</strong></p><p>All in all, create animation in CSS is not a so difficult task, the important is to understand how to declare and follow the rule structure. Besides this is checking if the element have the desired final effect and making the necessary adjustments.</p><p><strong>NEXT</strong></p><p>Create a second animation tutorial, with more examples and digging a little bit more on the rule and what is possible to be done with it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b725c5c960de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tomando a decisão]]></title>
            <link>https://medium.com/@fefragoso/tomando-a-decis%C3%A3o-47282217e108?source=rss-a955957d5fe6------2</link>
            <guid isPermaLink="false">https://medium.com/p/47282217e108</guid>
            <category><![CDATA[mestrado]]></category>
            <category><![CDATA[intercambio]]></category>
            <category><![CDATA[dinamarca]]></category>
            <category><![CDATA[viagem]]></category>
            <dc:creator><![CDATA[Felipe Dacal Fragoso]]></dc:creator>
            <pubDate>Tue, 13 Dec 2016 00:09:16 GMT</pubDate>
            <atom:updated>2016-12-13T00:09:16.619Z</atom:updated>
            <content:encoded><![CDATA[<p>Em poucos dias completarei quatro meses longe do Brasil e ao mesmo tempo um ano que tomei essa decisão. No início falei somente com a família a respeito e fui abrindo a amigos mais próximos conforme a partida foi chegando até a poucos dias da viagem todos que me conheciam ficaram sabendo.</p><p>Uma pergunta recorrente que escuto é, como foi tomar essa atitude? Desde 2014 já pensava em aprimorar meus estudos em Desenvolvimento de Games, sim video games (sobre isso deixarei para um próximo texto), mas no Brasil a maioria dos cursos são no nível de bacharel e também queria algo mais desafiador, portanto falei, está na hora de sair pelo mundo e me aprimorar no ambiente de outro país, outra cultura. No final do ano passado chegou a oportunidade, na verdade o incentivo que faltava, fui demitido! Para muitos isso seria motivo para desanimar e desistir de tudo, eu vi como Á oportunidade, eu estava acomodado, levando tudo como a maioria faz e isso já estava me incomodando. Tenho que confesar, no dia que fui demitido minha coordenadora comentou “Nossa, você não está abalado, está tão tranquilo” e na hora respondi, “Sim, pois ano que vem nesse momento estarei na Dinamarca fazendo meu mestrado em Games”.</p><p>Resumindo, tomei a atitude para sair da minha zona de conforto e tentar algo melhor para minha carreira profissional e depois de quase quatro meses, mesmo com pequenos perrengues (fica para um próximo texto) posso afirmar que foi a melhor coisa que fiz e não me arrependo de nada e recomendo a todos, tomem o controle de suas vidas e quem deseja se arriscar pelo mundo faça-o.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47282217e108" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>