text超级简单的cssdropcap(代码片段)

author author     2022-12-01     115

关键词:

<!DOCTYPE html>
<html>
<head>
  <title>Drop Cap Example</title>
  <!-- Feel free to use however you wish  http://AlanSimpson.me -->
  <style>
    /* This width is just to make the paragraphs narrow, not required in real life */
    p 
      width: 400px;
    

      /* This applies only to the first paragraph on the page, not all paragraphs.
        If you want every paragraph to start with a drop cap, remove :first-of-type 
      */
      p:first-of-type:first-letter 
        float: left;
        /* Choose any color you want */
        color: #f09;
        /* This is about right for 3-lines but you can experiment */
        font-size: 42pt;
        line-height: 33pt;
        padding: 2px 6px 0 2px;
        /* Optional drop shadow behind large letter */
        text-shadow: 2px 3px 4px rgba(128,128,128, 0.8);
      
  </style>
</head>
<body>
  <p>Powder candy soufflé soufflé muffin jelly apple pie. Toffee tart tiramisu gummi bears soufflé soufflé tootsie roll pastry. Cake oat cake lemon drops. Brownie chocolate bar liquorice marzipan pie gummi bears. Candy canes wafer toffee lemon drops.</p>
  <p>Candy canes bear claw chupa chups topping tart lollipop tart chocolate bar. Halvah tart topping cotton candy brownie. Sweet roll powder gummies gummies candy canes tootsie roll. Carrot cake cotton candy macaroon dragée bear claw.</p>
</body>
</html>

cssdropcap,第一封信(代码片段)

查看详情

text自动同步我的超级设置(代码片段)

查看详情

text超级档案(代码片段)

查看详情

css超级简单的滑块(代码片段)

查看详情

css超级简单的flexbox网格(代码片段)

查看详情

html超级简单的flexbox响应导航(代码片段)

查看详情

scss超级简单的css工具提示(代码片段)

查看详情

csswebkit的超级简单滚动条类似于ios(代码片段)

查看详情

text简单的片段(代码片段)

查看详情

javascript超级简单的写出轮播图(代码片段)

...vaScript,以为自己写不出来轮播图,这几天用一个超级简单的方法写轮播图,居然实现了,新手可以试试很容易写和学。大神的话,你当然会的,我就不说了,哈哈。效果图如下:个人感觉很好用&#x... 查看详情

javascript超级简单的写出轮播图(代码片段)

...vaScript,以为自己写不出来轮播图,这几天用一个超级简单的方法写轮播图,居然实现了,新手可以试试很容易写和学。大神的话,你当然会的,我就不说了,哈哈。效果图如下:个人感觉很好用&#x... 查看详情

text简单的菜单(代码片段)

查看详情

text简单的饼干操作(代码片段)

查看详情

text简单模式的标记(代码片段)

查看详情

text简单的cssdotleaders(代码片段)

查看详情

超级简单的delphi问题,取小数位

一个EDIT1.text,显示的数字,可能是10000.559653这样的格式,我现在想转换成10000.55,取小数位后的2位数,并显示在EDIT1里。不要四舍五入简单吧?有高手,回答一下吧。。。方法1:Edit1.Text:=FloatToStrF(StrToFloat(Edit1.Text),fffixed,15,2);方法... 查看详情

html超级简单的代码,用于添加带有在关闭时创建的cookie的弹出窗口。(代码片段)

查看详情

text简单的猫命令(代码片段)

查看详情