Skip to content

Commit e7390d9

Browse files
committed
Add View Transitions to masthead images
1 parent 1866317 commit e7390d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

_includes/header--masthead.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
{% include ribbon.html %}
1313

14-
<header class="page-head page-head--masthead" elementtiming=masthead>
14+
<header class="page-head page-head--masthead" elementtiming=masthead style="view-transition-name: masthead;">
1515

1616
<div class=wrapper>
1717

_includes/sub-content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
alt
1111
width=720
1212
height=480
13-
style="background-image: url(/img/css/masthead-small-lqip.jpg), url({% include base64/masthead.jpg.html %});"
13+
style="background-image: url(/img/css/masthead-small-lqip.jpg), url({% include base64/masthead.jpg.html %}); view-transition-name: masthead;"
1414
elementtiming=sidebar-image
1515
decoding=sync>
1616
</p>

0 commit comments

Comments
 (0)