我认为使用::first-letter伪元素很容易,但它不起作用!
我有
<p>* Required Fields</p>
Run Code Online (Sandbox Code Playgroud)
我希望*变成红色!
有任何想法吗?注意我无法更改html.
我正在开发一个正在运行但已停止的 Magento 2.3 站点。当我尝试向上翻一页时,我看到一个空白屏幕。看似空洞的,其实包含了一点内容:
<!doctype html>
<html lang="en">
<head >
<meta charset="utf-8"/>
<meta name="description" content="Blah Blah"/>
<meta name="keywords" content="More blah blah"/>
<meta name="robots" content="INDEX,FOLLOW"/>
<title></title>
<link rel="icon" type="image/x-icon" href="http://www.magento2.domain/pub/media/favicon/stores/1/3-ladies-bg.jpg" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.magento2.domain/pub/media/favicon/stores/1/3-ladies-bg.jpg" />
<link href='https://fonts.googleapis.com/css?family=Prosto+One' rel='stylesheet' type='text/css' />
<!--xxxabb2c66c7681e8f658-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxx-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-131267613-1');
</script> </head>
<body data-container="body" data-mage-init='{"loaderAjax": {}, "loader": { "icon": "http://www.magento2.domain/pub/static/version1551796553/frontend/_view/en_GB/images/loader-2.gif"}}' class="cms-index-index page-layout-1column">
</body> …Run Code Online (Sandbox Code Playgroud) 我想使用git来管理我的开发,集成测试和生产环境.我环顾四周但似乎无法找到一个如何简单的解释(例如Git - 推送到远程存储库并没有完全做到这一点).我想要做的一个非常简短的解释:
我已经通过使用git --init(注意没有--bare!)在1and1上创建存储库并使用ssh设置遥控器来实现了一些目标.但是我必须将receive.denyCurrentBranch设置为忽略,一旦我推动,我必须通过登录1and1服务器来检出分支.我必须为集成环境重复一遍.
这看起来非常笨拙,但我确信我的用例并不常见.这样做有明智的方法吗?