I just came back to this answer and noticed that separate HTML elements are not necessary to create your double-triangle. You can use pseudo-elements, :before and :after. I.e. replace the .top selector with something like .my-element-that-needs-a-triangle:before and the .bottom selector with something like .my-element-that-needs-a-triangle:after.

White trianglemeaning

If you want to create a triangle with borders (or box shadow look-alike) in pure CSS, you should use pseudo-elements :before and :after.

Image

White trianglebackground

Virtual reality helps these police officers better prepare for situations they face in the real world. Think of traffic accidents or domestic reports but also things like shootings. The officer’s actions influence the further steps in the training program.

The police use vr, among other things, to prevent ethnic profiling and interview techniques, the so-called soft skills.  The so-called hard skills such as shooting and the use of a taser are also popular in this type of program.

White trianglepng

I think you could get a good idea of what to do by checking out this tutorial on pure css thought bubbles. It's doing what you're looking for.

I want to create an upward and downward facing arrow with css like the following: http://apps.eky.hk/css-triangle-generator/

Image

White triangletransparent

In my example, I added display:inline-block; to the element .arrow-dropdown to be able to create some kind of dropdown menu with a drop shadow. It is followed by .arrow-only which is a a basic triangle with a red border.

White triangleemoji

Depending on how you're using it, you can make a triangle, with a border and even box shadow, without the triangle border hack, using CSS transform: rotate(). See my answer here: https://stackoverflow.com/a/8867645/918414

In this multiplayer VR training, police use virtual reality goggles to learn how to enter a crime scene. Currently, four officers can learn the intricacies of the job under the guidance of an instructor. In the future we will scale up to 16 people and new features will be added.

Since we are using borders to create the arrow, we can't just give it a border, but we can overlay one arrow on top of a slightly larger arrow to make the appearance of a border:

However, instead of a solid color, I want to set it up so the inside is white and there is just a border around the triangle. (So the triangle would be multi-colored, one color on the inside and a different colored border).

White triangleUkraine

body { margin: 10px; background: #1670c4; } .text { display: inline-block; font-size: 15px; color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.4); cursor: default; } .arrow-dropdown { display: inline-block; position: relative; vertical-align: middle; margin: 1px 0 0 8px; width: 8px; height: 7px; } .arrow-dropdown:after { content: ''; position: absolute; border-style: solid; border-width: 7px 4px 0; border-color: #fff transparent transparent transparent; display: block; width: 0; z-index: 1; } .arrow-dropdown:before { content: ''; position: absolute; border-style: solid; border-width: 8px 5px 0; border-color: rgba(0,0,0,0.3) transparent transparent transparent; display: block; width: 0; z-index: 0; } .arrow-only { position: relative; vertical-align: middle; margin: 10px 0 0 8px; width: 8px; height: 7px; } .arrow-only:after { content: ''; position: absolute; border-style: solid; border-width: 12px 9px 0; border-color: #fff transparent transparent transparent; display: block; width: 0; z-index: 1; } .arrow-only:before { content: ''; position: absolute; border-style: solid; border-width: 15px 11px 0; border-color: #f00 transparent transparent transparent; display: block; width: 0; z-index: 0; margin:-1px 0 0 -2px; }

Dropdown text

Emergency and security services such as the fire department, police and ambulance have been using virtual reality for a long time as a training tool.  It helps them to practice virtually on situations they encounter in practice. In this article we zoom in on the benefits of virtual reality training and how it is used at the (inter)national level.

We are currently developing two different training courses for the Dutch police. The first is a CPR training where the user learns how to act in case of cardiac arrest. The second is training the Dutch detectives how to enter a crime scene and look for evidence.

Virtual reality offers numerous advantages for training such as higher engagement, more focus and the fact that you can train anywhere. The biggest advantage in training police in virtual reality is the ability to safely train unsafe scenarios. Think life-threatening scenarios such as a shooting or a terrorist attack.

Are you looking for inspiration, do you have a question or already a great idea? Get in touch with one of our experts for a free consultation.