grant.codes

Jump to menu
  • About
  • Contact
  • Projects
  • Updates
  • More...Likes
  • Photos
  • Galleries
  • Replies
👈🕸💍👉

Liked https://www.reddit.com/r/Eyebleach/comments/d0pkav/flashy_blep/?utm_source=ifttt

Flashy Blep

Flashy Blep from Eyebleach
Posted 6 years ago by
JaGd_Dagger
Liked 6 years ago

Liked https://www.reddit.com/r/shittyrobots/comments/d0i6t4/pringles_dispenser/?utm_source=ifttt

Pringle’s dispenser

Pringle’s dispenser from shittyrobots
Posted Permalink
Liked 6 years ago

Liked https://www.reddit.com/r/youtubehaiku/comments/czotxq/poetry_dr_phil_and_steve_harvey_in_mario_kart_wii/?utm_source=ifttt

[Poetry] Dr Phil and Steve Harvey in Mario Kart Wii

[Poetry] Dr Phil and Steve Harvey in Mario Kart Wii from youtubehaiku
Posted 6 years ago by
zDark_ShadowZz
Liked 6 years ago

Liked https://www.reddit.com/r/BeAmazed/comments/czyn70/when_your_dad_is_a_vfx_artist/?utm_source=ifttt

When your dad is a VFX artist

When your dad is a VFX artist from BeAmazed
Posted 6 years ago by
tdecamilla
Liked 6 years ago

Liked https://www.reddit.com/r/youtubehaiku/comments/cz8kyh/haiku_unavailable_for_comment/?utm_source=ifttt

[Haiku] Unavailable for Comment...

[Haiku] Unavailable for Comment... from youtubehaiku
Posted 6 years ago by
WUTDO11231235
Liked 6 years ago

Liked https://www.instagram.com/p/B1-TVx_J2zZ/

Working and having fun with this project @grantcodes gave me a specific challenge! I have the intense and psychedelic design - taking longer than expected 🤷🏻‍♀️😜👽🤙🏻#pointillism #skull #challenge #younganatomy

View this post on Instagram

Working and having fun with this project @grantcodes gave me a specific challenge! I have the intense and psychedelic design - taking longer than expected 🤷🏻‍♀️😜👽🤙🏻#pointillism #skull #challenge #younganatomy

A post shared by Young Anatomy (@young_anatomy) on Sep 3, 2019 at 8:02pm PDT

Posted Permalink
Liked 6 years ago ● Also on:

Liked https://www.bbc.com/reel/video/p07m9sl0/the-last-inhabitant-of-argentina-s-flooded-city

The last inhabitant of Argentina's flooded city - BBC Reel

Posted Permalink
Liked 6 years ago

Liked https://twitter.com/iresimpsonsfans/status/1168459072963776513

Ireland Simpsons Fans on Twitter

Brexit latest pic.twitter.com/SP1tgZ4dsk

— Ireland Simpsons Fans (@iresimpsonsfans) September 2, 2019
Posted 6 years ago
Liked 6 years ago ● Also on:

Liked https://paulrobertlloyd.com/2019/09/brighton_to_lisbon

Brighton to Lisbon by Train

Sunday, 1 September 2019

05:30, Brighton. I arrive at Brighton station as the last few stragglers from Saturday evening noisily leave. Having developed a horrid cold, I suspect this drawn-out journey will be less enjoyable than I had hoped.

07:18, London Victoria. Wait 15 minutes for a Victoria line train to arrive, a feat of endurance given the oft-repeated announcement about escalator repairs.

Passengers on the London Underground

08:19, London St. Pancras. Board the Eurostar. A rare chance to travel on one of the (not-so-new) e320s.

10:48, Paris-Nord. Gare du Nord seems to get more beautiful with every visit. I have an hour to dash south to my next connection via the RER to Port-Royal. The ticket machine seems designed to test the patience of users, remaining unresponsive for just over a minute before serving the next customer. How French!

Passengers on the Paris RER

12:34, Paris-Montparnasse. After a brisk walk from the Port-Royal RER station, I arrive at this modern carbuncle with about 10 minutes to spare. The French railway system is now a mishmash of different brands, so I board an SNCF TGV INOUI service to Hendaye. The double-decker Duplex’s are incredibly spacious. My reclining seat has a large pulldown table, desk light, USB and power sockets. All undone by a low-hung luggage rack which I repeatedly hit my head against.

18:35, Hendaye. Having arrived 45 minutes earlier, I board the Sud Express, a Renfe/CP operated train hotel that has seen better days. In one of the carriages is a small bar/restaurant, lorded over by portly gentleman fond of rules. No photos. No video. No card payments. I inadvertently break the first rule before seeing the sign. The third rule is not apparent until I try to pay for my meal. I have visions of doing the washing up as payment. Fortunately, the train manager is able to bring a card payment machine to my compartment later in the evening.

Monday, 2 September 2019

07:55, Lisbon Oriente. Arrive after a rough night with little sleep. My throat is sore, my nose stuffed up, and my ears have endured a night of rattling doors, squealing rails and the wheezing plumbing of an adjacent toilet. Sections of the route were so bumpy derailment seemed a distinct possibility. I briefly explore another of Santiago Calatrava’s extravagant railway stations, before making my last connection via the Lisbon Metro.

Passengers on the Lisbon Metro

09:00, Saldanha. Seven trains, four countries and 27 and half hours later, I arrive at my hotel, where I’m able to check-in early and have a shower. I do it all over again, but in reverse, in a week’s time.

Posted 6 years ago
Liked 6 years ago

Liked https://css-tricks.com/need-to-scroll-to-the-top-of-the-page/

Need to scroll to the top of the page?

Perhaps the easiest way to offer that to the user is a link that targets an ID on the <html> element. So like...

<html id="top">
  <body>
     <!-- the entire document -->
     <a href="#top">Jump to top of page</a>
  </body>
</html>

But we've got a few options here.

If you want it to smooth scroll up to the top, you can do that in CSS if you like:

html {
  scroll-behavior: smooth;
}

Note that placing a property on the HTML element like that is all-encompassing behavior you don't have much control over.

In this case, we aren't linking to a focusable element either, which means that focus won't change. That's probably important, so this would be better:

<html>
  <body>
     <a id="top"></a>
     <!-- the entire document -->
     <a href="#top">Jump to top of page</a>
  </body>
</html>

It's better because the focus will move to that anchor tag, which is good for people using the keyboard or assistive technology.

These require clicks though. You might need to trigger scrolling within JavaScript, in which case:

window.scrollTo(0, 0);

...is a sure bet to scroll the window (or any other element) back to the top. The scrolling behavior of that is determined by CSS as well, but if you aren't doing that, you can force the smoothness in JavaScript:

window.scroll({
  top: 0, 
  left: 0, 
  behavior: 'smooth'
});

For a more complete story about smooth scrolling, we have a page for that.

Posted 6 years ago
Liked 6 years ago
NewerOlder
EmailInstagramGithub

Grant Richmond
grant.codes[email protected]