- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
时间线从这里开始,到 CSS 标题开始时结束,时间线应该有一条线和两边的气泡,但它只是纯文本。它应该看起来像这张照片(来自 https://codyhouse.co/gem/vertical-timeline/ ):
HTML
<div class="container">
<h1>Garfields Life</h1>
<div class="timeline">
<h2>1978-1980</h2>
<ul>
<li>
<h4>Garfield</h4>
<p>A look at the revolutional story of the iconic comic strip</p>
<time>August 1978</time>
</li>
<li>
<h4>Garfields First Comic</h4>
<p>The Garfield comic strip, drawn by cartoonist Jim Davis, starts in 41 U.S. newspapers.</p>
<time>June 1978</time>
</li>
<li>
<h4>His Popularity Grows</h4>
<p>The popularity of the Garfield comic strip spreads like his waistline. It has now spread to over 100 newspapers.</p>
<time>June 1979</time>
</li>
<li>
<h4>Garfields First Book</h4>
<p>Garfield at Large, his first book, hits #1 on The New York Times bestsellers list and stays there for nearly two years</p>
<time>Febuary 21,1980</time>
</li>
</ul>
<h2>1981-1982</h2>
<ul>
<li>
<h4>Bestsellers List</h4>
<p>Three Garfield books appear simultaneously on The New York Times bestsellers list. "Garfield at large,Garfield gains weight,Garfield bigger then life"</p>
<time>December 1981</time>
</li>
<li>
<h3>Paws Inc was established</h3>
<p>1981 Jim Davis starts Paws, Inc., a creative studio to handle the writing, drawing, and design for all Garfield products. The company is housed in a simple ranch house near Muncie, Indiana.</p>
<time>May 1982</time>
</li>
</ul>
<h2>1982-1983</h2>
<ul>
<li>
<h4>1000 Newspapers</h4>
<p>The Garfield comic strip now appears in 1,000 newspapers.</p>
<time>January 1982</time>
</li>
<li>
<h4>First TV Special</h4>
<p>Garfield’s first animated television special, "Here Comes Garfield", airs on October 25, 1982. At the animation studio, Jim Davis was having trouble animatating Garfield dancing on tiny cat feet. Charles Schulz, creator of Peanuts, who happened to be working in the same studio, solved Jim's problem by suggesting that Garfield stand upright on bigger feet</p>
<time>January 1982</time>
</li>
<li>
<h4>Bestsellers List Again.</h4>
<p>Seven Garfield books appear simultaneously on The New York Times bestsellers list the record has still never been reached</p>
<time> November 1982</time>
</li>
<li>
<h4>Peoples Magazine Cover</h4>
<p>Garfield makes the cover of People magazine as America’s #1 personality and announces the debut of his first television special.</p>
<time>November 1982</time>
</li>
<li>
<h4>Garfield Goes Worldwide</h4>
<p>The comic strip now appears in over 1,400 newspapers in 22 countries and is translated into seven languages.</p>
<time>January-December 1983</time>
</li>
</ul>
<h2>1984-1986</h2>
<ul>
<li>
<h4>First TV Commercial</h4>
<p>Garfield and Jim Davis star in the humorous American Express "Do You Know Me?" TV commercial.</p>
<time>January 1984</time>
</li>
<li>
<h4>Garfield Wins Emmy</h4>
<p>The second animated television special, Garfield on the Town, garners Jim Davis his first of four Emmy Awards.</p>
<time> May 1984</time>
</li>
<li>
<h4>Macy's Thanksgiving Day Parade</h4>
<p>Garfield gets a big head as the giant Garfield helium balloon makes its first appearance in the Macy’s Annual Thanksgiving Day Parade.</p>
<time>November 1984</time>
</li>
<li>
<h4>Garfield's Second Emmy!</h4>
<p>The third animated television special, Garfield in the Rough, wins an Emmy Award for Outstanding Animated Program.</p>
<time>September 1985</time>
</li>
<li>
<h4>Fastest-Growing Comic Strip</h4>
<p>The comic strip now appears in 1,800 newspapers and is called "the fastest-growing comic strip in history.</p>
<time>January 1986</time>
</li>
<li>
<h4>Garfield in Paradise</h4>
<p>His fifth television special, Garfield in Paradise, airs on CBS primetime. "This is my favorite Garfield special." - Jim Davis </p>
<time>May 1986</time>
</li>
</ul>
<h2>1986-1989</h2>
<ul>
<li>
<h4>Another Year, Another Emmy!</h4>
<p>Garfield takes home his third Emmy Award for his fourth television special, Garfield’s Halloween Adventure. </p>
<time>September 1986</time>
</li>
<li>
<h4>Stuck on You: The Phenomenon</h4>
<p>The grinning orange cat suction-cupped to a car window was a best seller, showing up in cars, buses, trains and planes all over the world. More than just a fad, the "Stuck on You" Garfield craze was a full-blown phenomenon, and tens of millions were sold between 1987 and 1989.</p>
<time>November 1987</time>
</li>
<li>
<h4>Garfield in the Rose Bowl Parade</h4>
<p>A new marigold was developed by Burpee to honor the 10th birthday of the popular comic character Garfield on June 19. The exclusive hybrid, which matches Garfield's exact shade of orange, was introduced at the Tournament of Roses Parade in Pasadena on Jan. 1, 1988. More than 100,000 of the flowers were used to decorate the feline's float in the parade. </p>
<time> January 1988</time>
</li>
<li>
<h4>Happy Birthday, Garfield</h4>
<p>Happy Birthday, Garfield is an hour-long television special on CBS celebrating the tenth anniversary of the Garfield comic strip. This behind-the-scenes special is hosted by Garfield creator, Jim Davis.</p>
<time>May 1988</time>
</li>
<li>
<h4>Garfield and Friends Debuts</h4>
<p>Garfield and Friends, an animated television show starring Garfield, debuts on CBS Saturday mornings. Each half-hour episode contains two Garfield cartoons and one U.S. Acres cartoon. Most shows also featured a number of "Garfield Quickies," which were super-short comedy vignettes that acted as info between the stories. </p>
<time> October 1988</time>
</li>
<li>
<h4>Garfield's Fourth Emmy!</h4>
<p>Garfield’s Babes & Bullets wins yet another Emmy Award for Outstanding Animated Program, closing out a decade of domination. Created in the style of classic film noir, Babes & Bullets featured Garfield as Sam Spayed, a tough-talking private eye beset with babes and bruisers as he tries to solve a murder case.</p>
<time>September 1989</time>
</li>
</ul>
<h2>1992-1997</h2>
<ul>
<li>
<h4>Garfield Goes Green</h4>
<p>Reflecting Jim Davis' avid concern for the environment, the orange cat goes green. Jim and Garfield campaign for wetlands restoration and also work with the National Wildlife Federation to create "schoolyard habitats" where students can learn about nature.</p>
<time>January 1992</time>
</li>
<li>
<h4>Mrs. Bush's Story Time</h4>
<p>Garfield joins First Lady Barbara Bush as a guest on the ABC national radio program, Mrs. Bush's Story Time. One million children and their parents listen to Mrs. Bush and Garfield read some of the nation's best-loved children's books.</p>
<time>March 1993</time>
</li>
<li>
<h4>Garfield Bookmobile</h4>
<p>Garfield hitches a ride on the Muncie Public Library Bookmobile. The first of many libraries on wheels to use the image of Garfield to promote reading.</p>
<time>April 1994</time>
</li>
<li>
<h4>"Cool Cat"</h4>
<p>In Germany, Garfield’s music CD, "Cool Cat," tops the charts. An animated music video is produced featuring Garfield as a dancing rock star and record-spinning DJ with various other cats as backup singers.</p>
<time>March-May 1995</time>
</li>
<li>
<h4>Orange Bowl Parade</h4>
<p>A dapper and large Garfield balloon heads south to appear in his first Orange Bowl parade.</p>
<time>January 1996</time>
</li>
<li>
<h4>Indianapolis 500 Parade</h4>
<p>Garfield and Jim Davis rev up for fun as Grand Marshals for the Indianapolis 500 Parade. The auto race, held in Jim's home state of Indiana, is one of the premiere motorsports events in the world.</p>
<time>May 1996</time>
</li>
<li>
<h4>Big, Fat, Hairy Website</h4>
<p>Garfield's first website, www.garfield.com, makes its worldwide debu</p>
<time> December 1996</time>
</li>
<li>
<h4>So Much Stuff...So Little Time</h4>
<p>The fat cat launches his first catalog, Garfield STUFF®! Shopping...it's not just for Christmas anymore!</p>
<time>1997-2016</time>
</li>
</ul>
<h2>2000</h2>
<ul>
<li>
<h4>Theme park</h4>
<p>The Garfield and Odie mascots find cool new summer hangouts at two amusement parks: Kennywood Park in Pennsylvania and Lake Compounce in Connecticut.</p>
<time>April 2000</time>
</li>
<li>
<h4>Garfield Games</h4>
<p>Garfield plays around on his new game website www.garfieldgames.com.</p>
<time> 2001-Now</time>
</li>
<li>
<h4>Garfield Sets a World Record</h4>
<p>"Garfield: Most Widely Syndicated Comic Strip in the World," declares the Guinness Book of World Records.</p>
<time>January 2002</time>
</li>
<li>
<h4>Garfield Turns 25</h4>
<p>Garfield celebrates a quarter-century of cattitude with a 12-city book tour to debut a new book, Garfield at 25: In Dog Years I’d Be Dead. There's also a week-long birthday cruise for fans and a three-day "Fan Birthday Bash" in Muncie, Indiana that includes a Fur Ball, a parade, and an exhibit of 25 Garfield statues designed and decorated by local artisans.</p>
<time>June 2003</time>
</li>
</ul>
<h2>2004-2012</h2>
<ul>
<li>
<h4>Garfield: The Movie</h4>
<p>Garfield: The Movie is the first-ever full-length, live-action/CGI feature film that stars the fat cat and a dimwitted dog named Odie! The movie appears in theaters worldwide and features a cast that includes Breckin Meyer as Jon Arbuckle; Jennifer Love Hewitt as Liz, the veterinarian; and Bill Murray as the voice of Garfield.</p>
<time>June 2004</time>
</li>
<li>
<h4>Garfield: A Tail of Two Kitties<h4>
<p>The sequel to Garfield: The Movie debuts. It’s Garfield: A Tail of Two Kitties. Together, the two films gross over $340 million at the box office. In fact, A Tail of Two Kitties becomes the most popular animated feature EVER released in China!</p>
<time>June 2006</time>
</li>
<li>
<h4>Garfield Gets Real is Released</h4>
<p>Jim Davis serves as writer and producer of a new direct-to-video movie, Garfield Gets Real. This is the first of three DTV movies to be produced by Davis.</p>
<time>September 2007</time>
</li>
<li>
<h4>Voilà! A New TV Show!</h4>
<p>Garfield celebrates his 30th birthday with a brand-new animated television show, Garfield et Cie (The Garfield Show), which debuts on the France 3 network. The fully-animated half-hour show is a production of Paws, Inc. and Dargaud Media, a Paris-based animation and publishing company.</p>
<time>November 2008</time>
</li>
<li>
<h4>Voted the Best!</h4>
<p>People magazine names The Garfield Show one of the best new kids' shows for 2009! </p>
<time>
December 2009</time>
</li>
<li>
<h4>The Garfield Show in Japan</h4>
<p>Cartoon Network launches The Garfield Show in Japan and Asia.</p>
<time>2012-Present</time>
</li>
</ul>
<h2>2012-Present</h2>
<ul>
<li>
<h4>A Classic Is Back<h4>
<p>The classic animated TV show from the '80s and '90s, Garfield and Friends, is released digitally to an eager audience on the video service website HULU.</p>
<time> May 2012</time>
</li>
<li>
<h4>Facebook</h4>
<p>Garfield surpasses the 10 million fan mark on Facebook. It’s clear the world really Likes Garfield!</p>
<time>July 2013</time>
</li>
<li>
<h4>35 Years of Fat Cat Fun!</h4>
<p>Garfield celebrates his 35th birthday in style with a brand-new book: a special collection of Sunday comics, handpicked and annotated by creator Jim Davis.</p>
<time>November 2013</time>
IM DYING OMG I HAVE TO ADD MORE WRITNG TO POST THIS UHGHGHG
</div>
</div>
CSS我怀疑这不起作用的关键原因是导入指南针/css3 代码不起作用
@import "compass/css3";
$gray: #dddddd;
h1, h2, h3 {
font-weight: 300;
}
.container {
padding: 1em;
}
.timeline {
position: relative;
overflow: auto;
&:before {
content: '';
position: absolute;
height: 100%;
width: 5px;
background: $gray;
left: 0;
}
h2 {
background: $gray;
max-width: 6em;
margin: 0 auto 1em;
padding: 0.5em;
text-align: center;
position: relative;
clear: both;
}
ul {
list-style: none;
padding: 0 0 0 1em;
z-index: 1;
}
li {
background: $gray;
padding: 1em;
margin-bottom: 1em;
position: relative;
&:before {
content: '';
width: 0;
height: 0;
border-top: 1em solid $gray;
border-left: 1em solid transparent;
position: absolute;
left: -1em;
top: 0;
}
}
h3 {
margin-top: 0;
}
time {
font-style: italic;
}
}
@media screen and (min-width: 40em) {
.container {
max-width: 1000px;
margin: 0 auto;
}
.timeline {
&:before {
left: 50%;
}
ul {
padding-left: 0;
max-width: 700px;
margin: 0 auto;
}
li {
width: 42%;
}
li:nth-child(even) {
float: right;
margin-top: 2em;
}
li:nth-child(odd) {
float: left;
&:before {
border-top: 1em solid $gray;
border-right: 1em solid transparent;
right: -1em;
left: auto;
}
}
li:nth-of-type(2n+1) {
clear: both;
}
}
}
最佳答案
CSS
.timeline {
list-style: none;
padding: 20px 0 20px;
position: relative;
}
.timeline:before {
top: 0;
bottom: 0;
position: absolute;
content: " ";
width: 3px;
background-color: #999999;
margin-left: -1.5px;
}
垂直时间轴已经完成,只需为时间轴中的每个事件添加气泡或图标即可。
关于html - 我的 HTML 网站中的时间线没有显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34938288/
我有这个网站,这个特定页面是安全的,但是当它回发时,它回发到一个不安全的页面。如何解决? 我正在使用 ASP.NET 向导。我有这个页面 - checkout.aspx,页面包含这个控件 checko
我有 2 个 azure 网站 - 两个独立的项目 我现在有 2 个网址: myazurewebsite.azurewebsites.net myazureblog.azurewebsites.net
我有 2 个 azure 网站 - 两个独立的项目 我现在有 2 个网址: myazurewebsite.azurewebsites.net myazureblog.azurewebsites.net
环境: 旧网站: React 托管在 Heroku URL( http://sameurl.com ) 新网站: Java 托管在 Heroku URL ( http://sameurl.com )
我已在 Windows Azure 上注册了一个测试帐户来对其进行测试。我构建了一个 Hello world ASP.NET Web 应用程序 + 数据库只是为了测试。 我安装了 Visual Stu
我有一个可以收集和显示各种测量值的产品(不会详细介绍)。正如人们所期望的那样,显示部分是一个数据库+建立在其之上的网站(使用 Symfony)。 但是,我们可能还会创建一个 API 来向第三方公开数据
这个问题在这里已经有了答案: Software keyboard resizes background image on Android (16 个答案) 关闭 8 年前。 我有一个类似的问题:So
这个问题似乎很常见,但我真的无法根据现有答案解决问题。 我有一个简单的 maven 项目,没有任何复杂的部署配置等,并且想在点击“mvn site”时生成一个 Maven CheckStyle 报告。
有没有人看过有关何时进行横向扩展与纵向扩展的最佳选择的任何分析或信息。什么时候一个比另一个更有意义。 目前,在标准模式和基本模式下,2 个小型实例的费用与 1 个中型实例的费用相同。 拥有 2 个小型
有没有办法找到 azure 网站何时停止? (我通过门户网站停止了网站,但我不记得是什么时候......) 我正在寻找一些日志,但没有找到任何有用的内容。 谢谢。 最佳答案 您拥有的最接近的是 azu
我目前在 Azure VM 的 IIS 中拥有一个网站。我已将该站点复制到 2 个可用区域中的 2 个虚拟机上。 这可以保护网站免遭停机。 我需要为高负载时刻实现一些可扩展性。这似乎就是创建音阶集的目
我有一个托管在 Azure 上的网站 ( http://mike-ward.azurewebsites.net/ )。我从 Azure 门户设置了一个指向(引用?)我的网站的 Azure CDN。根据
我有一个 Azure 网站(不是 Web 角色),有 2 个槽:生产和暂存。 我只想为生产插槽启用 CDN,而不是为登台启用,问题是我找不到识别主机插槽的方法。 RoleEnvironment 不可用
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提出有关书籍、工具、软件库等建议的问题。您可以编辑问题,以便可以用事实和引用来回答它。 4年前关
我们正在考虑将一些网站从 Azure 云服务迁移到 Azure 网站(事情似乎就是这样进行的)。显然,我们被明确告知云服务不会保留文件系统状态,因为它们会在机器故障时重新部署。 我假设网站是基于 Bl
我有一个 Azure 网站,需要使用在 VM 上运行的 Elasticsearch 服务。 虽然我需要能够锁定对 Elasticsearch 的访问,以便只有 Azure 网站可以访问它,但我似乎无法
我有一个 azure 网站,位于 yis3.azurewebsites.net - 我已将其提升为“共享”网站,以便我可以使用自定义域。我拥有从 123-reg.co.uk 购买的域名 yorkshi
我正在使用 abcPDF 动态创建 PDF。 我想保存这些 PDF,以便客户随时检索。最简单的方法(也是我现在在当前服务器上所做的方法)是将完成的 PDF 保存到文件系统。 看来我一直坚持使用 blo
我们正在尝试了解 Windows Azure 管理 API 为 Azure 网站(而非 Webroles)返回的监控数据的复杂性 例如,下图描述了为 CPUTime 检索的数据点。它似乎表明,在晚上
看起来真的很愚蠢,因为我找不到它: 门户网站似乎不太直观,我如何为一个“网站”付费并在其中运行最多 500 个网站?我想当我通过单击左下角的加号添加“网站”时,我添加了整个虚拟机而不是子站点。如何仅添
我是一名优秀的程序员,十分优秀!