blur logic implemented on view.html.twig of Person by means of example

This commit is contained in:
2021-10-08 22:21:40 +02:00
parent b40ed48776
commit f09329daee
4 changed files with 57 additions and 21 deletions

View File

@@ -12,7 +12,22 @@
{{ encore_entry_link_tags('mod_forkawesome') }}
{{ encore_entry_link_tags('mod_ckeditor5') }}
{{ encore_entry_link_tags('chill') }}
{% block css%}<!-- nothing added to css -->{% endblock %}
{% block css%}<!-- nothing added to css -->
<style>
.confidential{
display: flex;
}
.toggle{
margin-left: auto;
margin-right: 100px;
}
.blur {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
filter: blur(5px);
}
</style>
{% endblock %}
</head>
<body>